summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomas Janousek <tomi@nomi.cz>2008-02-05 17:07:50 (GMT)
committerTomas Janousek <tomi@nomi.cz>2008-02-06 15:36:23 (GMT)
commit1534c8d728d6fd2f97feef5e0a5f8ab294aa8639 (patch)
tree6fd7faed12bdbe301ddca50f02f34c38b8466ee2 /src
parentb61502ffbc17d51506bb274472f9bf8934319364 (diff)
downloadfluxbox_lack-1534c8d728d6fd2f97feef5e0a5f8ab294aa8639.zip
fluxbox_lack-1534c8d728d6fd2f97feef5e0a5f8ab294aa8639.tar.bz2
Consistency: alpha submenu of WindowMenu should not have title.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
Diffstat (limited to 'src')
-rw-r--r--src/MenuCreator.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 32a046f..9f20155 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -586,11 +586,14 @@ bool MenuCreator::createWindowMenuItem(const string &type,
586 if (screen == 0) 586 if (screen == 0)
587 return false; 587 return false;
588 588
589 FbTk::Menu *submenu =
590 new AlphaMenu(screen->menuTheme(),
591 screen->imageControl(),
592 *screen->layerManager().getLayer(Layer::MENU));
593 submenu->disableTitle();
589 menu.insert(label.empty() ? _FB_XTEXT(Configmenu, Transparency, "Transparency", 594 menu.insert(label.empty() ? _FB_XTEXT(Configmenu, Transparency, "Transparency",
590 "Menu containing various transparency options"): label, 595 "Menu containing various transparency options"): label,
591 new AlphaMenu(screen->menuTheme(), 596 submenu);
592 screen->imageControl(),
593 *screen->layerManager().getLayer(Layer::MENU)));
594 } 597 }
595#endif // HAVE_XRENDER 598#endif // HAVE_XRENDER
596 } else if (type == "extramenus") { 599 } else if (type == "extramenus") {