summaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 55250cc..829a8a4 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -476,6 +476,9 @@ bool MenuCreator::createWindowMenuItem(const std::string &type,
476 } else if (type == "close") { 476 } else if (type == "close") {
477 RefCmd close_cmd(new WindowCmd(win, &FluxboxWindow::close)); 477 RefCmd close_cmd(new WindowCmd(win, &FluxboxWindow::close));
478 menu.insert(label.empty()?_FBTEXT(Windowmenu, Close, "Close", "Close the window"):label.c_str(), close_cmd); 478 menu.insert(label.empty()?_FBTEXT(Windowmenu, Close, "Close", "Close the window"):label.c_str(), close_cmd);
479 } else if (type == "kill" || type == "killwindow") {
480 RefCmd kill_cmd(new WindowCmd(win, &FluxboxWindow::kill));
481 menu.insert(label.empty()?_FBTEXT(Windowmenu, Kill, "Kill", "Kill the window"):label.c_str(), kill_cmd);
479 } else if (type == "lower") { 482 } else if (type == "lower") {
480 RefCmd lower_cmd(new WindowCmd(win, &FluxboxWindow::lower)); 483 RefCmd lower_cmd(new WindowCmd(win, &FluxboxWindow::lower));
481 menu.insert(label.empty()?_FBTEXT(Windowmenu, Lower, "Lower", "Lower the window"):label.c_str(), lower_cmd); 484 menu.insert(label.empty()?_FBTEXT(Windowmenu, Lower, "Lower", "Lower the window"):label.c_str(), lower_cmd);