summaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 4a2cc0e..c97d51d 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -454,7 +454,6 @@ FbTk::Menu *MenuCreator::createMenuType(const std::string &type, int screen_num)
454 } else if (type == "windowmenu") { 454 } else if (type == "windowmenu") {
455 FbTk::Menu *menu = screen->createMenu(""); 455 FbTk::Menu *menu = screen->createMenu("");
456 456
457 menu->removeAll(); // clear old items
458 menu->disableTitle(); // not titlebar 457 menu->disableTitle(); // not titlebar
459 if (screen->windowMenuFilename().empty() || 458 if (screen->windowMenuFilename().empty() ||
460 ! createWindowMenuFromFile(screen->windowMenuFilename(), *menu, true)) { 459 ! createWindowMenuFromFile(screen->windowMenuFilename(), *menu, true)) {