summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/FbCommandFactory.cc4
-rw-r--r--src/Toolbar.hh2
2 files changed, 1 insertions, 5 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")
diff --git a/src/Toolbar.hh b/src/Toolbar.hh
index 7fde897..c310748 100644
--- a/src/Toolbar.hh
+++ b/src/Toolbar.hh
@@ -95,8 +95,6 @@ public:
95 void handleEvent(XEvent &event); 95 void handleEvent(XEvent &event);
96 //@} 96 //@}
97 97
98 /// enter edit mode on workspace label
99 void edit();
100 void reconfigure(); 98 void reconfigure();
101 void setPlacement(Placement where); 99 void setPlacement(Placement where);
102 100