diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-17 11:10:17 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-17 11:10:17 (GMT) |
commit | a23778a44d2469fdc414884f5fe72fde09c100cc (patch) | |
tree | dcff8778bef2f70fb1112f60f6de290a0aebe777 /src/MenuCreator.cc | |
parent | 72fd5e03a48396e6feec86534d266c68a9edd915 (diff) | |
download | fluxbox-a23778a44d2469fdc414884f5fe72fde09c100cc.zip fluxbox-a23778a44d2469fdc414884f5fe72fde09c100cc.tar.bz2 |
add SetTitle and SetTitleDialog key commands
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() || |