diff options
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r-- | src/MenuCreator.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc index 34dce94..db9aca2 100644 --- a/src/MenuCreator.cc +++ b/src/MenuCreator.cc | |||
@@ -28,6 +28,7 @@ | |||
28 | #include "fluxbox.hh" | 28 | #include "fluxbox.hh" |
29 | #include "Window.hh" | 29 | #include "Window.hh" |
30 | #include "WindowCmd.hh" | 30 | #include "WindowCmd.hh" |
31 | #include "CurrentWindowCmd.hh" | ||
31 | #include "WindowMenuAccessor.hh" | 32 | #include "WindowMenuAccessor.hh" |
32 | 33 | ||
33 | #include "ClientMenu.hh" | 34 | #include "ClientMenu.hh" |
@@ -492,6 +493,12 @@ bool MenuCreator::createWindowMenuItem(const string &type, | |||
492 | _FB_XTEXT(Windowmenu, Stick, | 493 | _FB_XTEXT(Windowmenu, Stick, |
493 | "Stick", "Stick the window"): | 494 | "Stick", "Stick the window"): |
494 | label, res)); | 495 | label, res)); |
496 | } else if (type == "settitledialog") { | ||
497 | RefCmd setname_cmd(new SetTitleDialogCmd()); | ||
498 | menu.insert(label.empty() ? | ||
499 | _FB_XTEXT(Windowmenu, SetTitle, | ||
500 | "Set Title", "Change the title of the window"): | ||
501 | label, setname_cmd); | ||
495 | #ifdef HAVE_XRENDER | 502 | #ifdef HAVE_XRENDER |
496 | } else if (type == "alpha") { | 503 | } else if (type == "alpha") { |
497 | if (FbTk::Transparent::haveComposite() || | 504 | if (FbTk::Transparent::haveComposite() || |