aboutsummaryrefslogtreecommitdiff
path: root/src/FbCommandFactory.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-06-30 01:37:46 (GMT)
committermarkt <markt>2006-06-30 01:37:46 (GMT)
commit91ab82513b7638825ca7231fa35f52f66f5aaed3 (patch)
treed64a35c4dfb0bd867bdc2a97b63361748386912e /src/FbCommandFactory.cc
parent301665024da21a345b7ff682fed1d94a9e5de36c (diff)
downloadfluxbox-91ab82513b7638825ca7231fa35f52f66f5aaed3.zip
fluxbox-91ab82513b7638825ca7231fa35f52f66f5aaed3.tar.bz2
dead functions
Diffstat (limited to 'src/FbCommandFactory.cc')
-rw-r--r--src/FbCommandFactory.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc
index b50118e..6fe5e11 100644
--- a/src/FbCommandFactory.cc
+++ b/src/FbCommandFactory.cc
@@ -186,7 +186,7 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
186 return new SaveResources(); 186 return new SaveResources();
187 else if (command == "execcommand" || command == "execute" || command == "exec") 187 else if (command == "execcommand" || command == "execute" || command == "exec")
188 return new ExecuteCmd(arguments); // execute command on key screen 188 return new ExecuteCmd(arguments); // execute command on key screen
189 else if (command == "exit") 189 else if (command == "exit" || command == "quit")
190 return new ExitFluxboxCmd(); 190 return new ExitFluxboxCmd();
191 else if (command == "setenv" || command == "export") { 191 else if (command == "setenv" || command == "export") {
192 192
@@ -208,8 +208,6 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
208 208
209 return new SetModKeyCmd(modkey); 209 return new SetModKeyCmd(modkey);
210 } 210 }
211 else if (command == "quit")
212 return new FbTk::SimpleCommand<Fluxbox>(*Fluxbox::instance(), &Fluxbox::shutdown);
213 else if (command == "commanddialog") // run specified fluxbox command 211 else if (command == "commanddialog") // run specified fluxbox command
214 return new CommandDialogCmd(); 212 return new CommandDialogCmd();
215 else if (command == "bindkey") 213 else if (command == "bindkey")