aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuCreator.cc')
-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") {