aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommands.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-26 23:52:09 (GMT)
committerfluxgen <fluxgen>2003-08-26 23:52:09 (GMT)
commit64387c87065127bbddfebe170823295df78865c5 (patch)
treeb6b6296992ef6044fb7ab2f42d1795a6e3c886dd /src/FbCommands.cc
parente984c66191b0207188a0cc90ee0fde392940ffe7 (diff)
downloadfluxbox-64387c87065127bbddfebe170823295df78865c5.zip
fluxbox-64387c87065127bbddfebe170823295df78865c5.tar.bz2
added SetWorkspaceNameCmd
Diffstat (limited to 'src/FbCommands.cc')
-rw-r--r--src/FbCommands.cc13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/FbCommands.cc b/src/FbCommands.cc
index f8df2da..61e22e7 100644
--- a/src/FbCommands.cc
+++ b/src/FbCommands.cc
@@ -19,13 +19,14 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: FbCommands.cc,v 1.13 2003/08/11 14:52:10 fluxgen Exp $ 22// $Id: FbCommands.cc,v 1.14 2003/08/26 23:52:09 fluxgen Exp $
23 23
24#include "FbCommands.hh" 24#include "FbCommands.hh"
25#include "fluxbox.hh" 25#include "fluxbox.hh"
26#include "FbTk/Theme.hh" 26#include "FbTk/Theme.hh"
27#include "Screen.hh" 27#include "Screen.hh"
28#include "Menu.hh" 28#include "Menu.hh"
29#include "SetWorkspaceName.hh"
29 30
30#include <sys/types.h> 31#include <sys/types.h>
31#include <unistd.h> 32#include <unistd.h>
@@ -113,4 +114,14 @@ void ShowRootMenuCmd::execute() {
113 } 114 }
114} 115}
115 116
117void SetWorkspaceNameCmd::execute() {
118
119 BScreen *screen = Fluxbox::instance()->mouseScreen();
120 if (screen == 0)
121 return;
122
123 SetWorkspaceName *win = new SetWorkspaceName(*screen);
124 win->show();
125}
126
116}; // end namespace FbCommands 127}; // end namespace FbCommands