From 91ab82513b7638825ca7231fa35f52f66f5aaed3 Mon Sep 17 00:00:00 2001 From: markt <markt> Date: Fri, 30 Jun 2006 01:37:46 +0000 Subject: dead functions --- src/FbCommandFactory.cc | 4 +--- src/Toolbar.hh | 2 -- 2 files changed, 1 insertion(+), 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, return new SaveResources(); else if (command == "execcommand" || command == "execute" || command == "exec") return new ExecuteCmd(arguments); // execute command on key screen - else if (command == "exit") + else if (command == "exit" || command == "quit") return new ExitFluxboxCmd(); else if (command == "setenv" || command == "export") { @@ -208,8 +208,6 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, return new SetModKeyCmd(modkey); } - else if (command == "quit") - return new FbTk::SimpleCommand<Fluxbox>(*Fluxbox::instance(), &Fluxbox::shutdown); else if (command == "commanddialog") // run specified fluxbox command return new CommandDialogCmd(); 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: void handleEvent(XEvent &event); //@} - /// enter edit mode on workspace label - void edit(); void reconfigure(); void setPlacement(Placement where); -- cgit v0.11.2