diff options
author | rathnor <rathnor> | 2004-09-16 14:58:28 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-09-16 14:58:28 (GMT) |
commit | 87c7c80847255e6eddca9b9a819fb031915e8570 (patch) | |
tree | 8156543f389e50bc9948ae4c6a6a461ab150fa57 /src | |
parent | 48e9c810d769efd733eecd8c3b0ea04b5fb6008e (diff) | |
download | fluxbox_paul-87c7c80847255e6eddca9b9a819fb031915e8570.zip fluxbox_paul-87c7c80847255e6eddca9b9a819fb031915e8570.tar.bz2 |
make reconfig an alias for reconfigure
Diffstat (limited to 'src')
-rw-r--r-- | src/FbCommandFactory.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FbCommandFactory.cc b/src/FbCommandFactory.cc index d0a2a45..7dc7fc8 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.34 2004/08/30 21:29:42 akir Exp $ | 23 | // $Id: FbCommandFactory.cc,v 1.35 2004/09/16 14:58:28 rathnor Exp $ |
24 | 24 | ||
25 | #include "FbCommandFactory.hh" | 25 | #include "FbCommandFactory.hh" |
26 | 26 | ||
@@ -105,6 +105,7 @@ FbCommandFactory::FbCommandFactory() { | |||
105 | "quit", | 105 | "quit", |
106 | "raise", | 106 | "raise", |
107 | "raiselayer", | 107 | "raiselayer", |
108 | "reconfig", | ||
108 | "reconfigure", | 109 | "reconfigure", |
109 | "reloadstyle", | 110 | "reloadstyle", |
110 | "resizeto", | 111 | "resizeto", |
@@ -165,7 +166,7 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command, | |||
165 | // | 166 | // |
166 | if (command == "restart") | 167 | if (command == "restart") |
167 | return new RestartFluxboxCmd(arguments); | 168 | return new RestartFluxboxCmd(arguments); |
168 | else if (command == "reconfigure") | 169 | else if (command == "reconfigure" || command == "reconfig") |
169 | return new ReconfigureFluxboxCmd(); | 170 | return new ReconfigureFluxboxCmd(); |
170 | else if (command == "setstyle") | 171 | else if (command == "setstyle") |
171 | return new SetStyleCmd(arguments); | 172 | return new SetStyleCmd(arguments); |