aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-07-02 05:14:48 (GMT)
committerfluxgen <fluxgen>2003-07-02 05:14:48 (GMT)
commit0703926d3a59e8979590e06930a7f25f6802138b (patch)
treeedc0a6e2db63712082fdb4053c5101ed5aa42a4b /src
parentb54dbfb7b14fe3c4346465bd9287ac1bf9935133 (diff)
downloadfluxbox_paul-0703926d3a59e8979590e06930a7f25f6802138b.zip
fluxbox_paul-0703926d3a59e8979590e06930a7f25f6802138b.tar.bz2
added rootmenu command
Diffstat (limited to 'src')
-rw-r--r--src/FbCommandFactory.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index c4bacae..55455aa 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: FbCommandFactory.cc,v 1.7 2003/07/01 09:47:39 fluxgen Exp $ 23// $Id: FbCommandFactory.cc,v 1.8 2003/07/02 05:14:48 fluxgen Exp $
24 24
25#include "FbCommandFactory.hh" 25#include "FbCommandFactory.hh"
26 26
@@ -77,6 +77,7 @@ FbCommandFactory::FbCommandFactory() {
77 "prevwindow", 77 "prevwindow",
78 "showdesktop", 78 "showdesktop",
79 "arrangewindows", 79 "arrangewindows",
80 "rootmenu",
80 "" 81 ""
81 }; 82 };
82 83
@@ -171,6 +172,7 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
171 return new ArrangeWindowsCmd(); 172 return new ArrangeWindowsCmd();
172 else if (command == "showdesktop") 173 else if (command == "showdesktop")
173 return new ShowDesktopCmd(); 174 return new ShowDesktopCmd();
174 175 else if (command == "rootmenu")
176 return new ShowRootMenuCmd();
175 return 0; 177 return 0;
176} 178}