summaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index c0d3f88..4d2f191 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -845,7 +845,7 @@ void Toolbar::setupMenus(bool skip_new_placement) {
845 reconfig_toolbar_and_save_resource)); 845 reconfig_toolbar_and_save_resource));
846 846
847 MenuItem *toolbar_menuitem = 847 MenuItem *toolbar_menuitem =
848 new IntResMenuItem(_FB_XTEXT(Toolbar, WidthPercent, 848 new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Toolbar, WidthPercent,
849 "Toolbar width percent", 849 "Toolbar width percent",
850 "Percentage of screen width taken by toolbar"), 850 "Percentage of screen width taken by toolbar"),
851 m_rc_width_percent, 851 m_rc_width_percent,
@@ -922,7 +922,7 @@ void Toolbar::setupMenus(bool skip_new_placement) {
922 922
923 // this saves resources and clears the slit window to update alpha value 923 // this saves resources and clears the slit window to update alpha value
924 FbTk::MenuItem *alpha_menuitem = 924 FbTk::MenuItem *alpha_menuitem =
925 new IntResMenuItem(_FB_XTEXT(Common, Alpha, "Alpha", "Transparency level"), 925 new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Common, Alpha, "Alpha", "Transparency level"),
926 m_rc_alpha, 926 m_rc_alpha,
927 0, 255, menu()); 927 0, 255, menu());
928 // setup command for alpha value 928 // setup command for alpha value