aboutsummaryrefslogtreecommitdiff
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 dad91aa..0f16140 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -796,7 +796,7 @@ void Toolbar::setupMenus() {
796 796
797 MenuItem *toolbar_menuitem = new IntResMenuItem(_FBTEXT(Toolbar, WidthPercent, "Toolbar width percent", "Percentage of screen width taken by toolbar"), 797 MenuItem *toolbar_menuitem = new IntResMenuItem(_FBTEXT(Toolbar, WidthPercent, "Toolbar width percent", "Percentage of screen width taken by toolbar"),
798 m_rc_width_percent, 798 m_rc_width_percent,
799 0, 100); // min/max value 799 0, 100, menu()); // min/max value
800 800
801 801
802 RefCommand reconfig_toolbar(new ToolbarCommand(*this, &Toolbar::reconfigure)); 802 RefCommand reconfig_toolbar(new ToolbarCommand(*this, &Toolbar::reconfigure));
@@ -886,7 +886,7 @@ void Toolbar::setupMenus() {
886 FbTk::MenuItem *alpha_menuitem = 886 FbTk::MenuItem *alpha_menuitem =
887 new IntResMenuItem(_FBTEXT(Common, Alpha, "Alpha", "Transparency level"), 887 new IntResMenuItem(_FBTEXT(Common, Alpha, "Alpha", "Transparency level"),
888 m_rc_alpha, 888 m_rc_alpha,
889 0, 255); 889 0, 255, menu());
890 // setup command for alpha value 890 // setup command for alpha value
891 MacroCommand *alpha_macrocmd = new MacroCommand(); 891 MacroCommand *alpha_macrocmd = new MacroCommand();
892 RefCount<Command> alpha_cmd(new SimpleCommand<Toolbar>(*this, &Toolbar::updateAlpha)); 892 RefCount<Command> alpha_cmd(new SimpleCommand<Toolbar>(*this, &Toolbar::updateAlpha));