added rootmenu command
This commit is contained in:
parent
b54dbfb7b1
commit
0703926d3a
1 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: FbCommandFactory.cc,v 1.7 2003/07/01 09:47:39 fluxgen Exp $
|
// $Id: FbCommandFactory.cc,v 1.8 2003/07/02 05:14:48 fluxgen Exp $
|
||||||
|
|
||||||
#include "FbCommandFactory.hh"
|
#include "FbCommandFactory.hh"
|
||||||
|
|
||||||
|
@ -77,6 +77,7 @@ FbCommandFactory::FbCommandFactory() {
|
||||||
"prevwindow",
|
"prevwindow",
|
||||||
"showdesktop",
|
"showdesktop",
|
||||||
"arrangewindows",
|
"arrangewindows",
|
||||||
|
"rootmenu",
|
||||||
""
|
""
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -171,6 +172,7 @@ FbTk::Command *FbCommandFactory::stringToCommand(const std::string &command,
|
||||||
return new ArrangeWindowsCmd();
|
return new ArrangeWindowsCmd();
|
||||||
else if (command == "showdesktop")
|
else if (command == "showdesktop")
|
||||||
return new ShowDesktopCmd();
|
return new ShowDesktopCmd();
|
||||||
|
else if (command == "rootmenu")
|
||||||
|
return new ShowRootMenuCmd();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue