aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2005-05-03 13:53:25 (GMT)
committersimonb <simonb>2005-05-03 13:53:25 (GMT)
commit7d4f711204ab0b51d45eaff332708f529c11c9f5 (patch)
tree57488fc9d10740f0501396f68b4e061b0cec8810 /src/Toolbar.cc
parent575578d810733e0ca8d970f5923594a9d1930216 (diff)
downloadfluxbox_pavel-7d4f711204ab0b51d45eaff332708f529c11c9f5.zip
fluxbox_pavel-7d4f711204ab0b51d45eaff332708f529c11c9f5.tar.bz2
fix some menu drawing issues
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));