summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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}