aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/MenuCreator.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index abd6691..c1eeca4 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -32,6 +32,7 @@
32#include "WindowMenuAccessor.hh" 32#include "WindowMenuAccessor.hh"
33 33
34#include "ClientMenu.hh" 34#include "ClientMenu.hh"
35#include "FbCommands.hh"
35#include "WorkspaceMenu.hh" 36#include "WorkspaceMenu.hh"
36#include "LayerMenu.hh" 37#include "LayerMenu.hh"
37#include "SendToMenu.hh" 38#include "SendToMenu.hh"
@@ -285,6 +286,9 @@ insertMenuItem(lua::state &l, FbTk::Menu &menu, FbTk::StringConvertor &parent_co
285 menu.insert(str_label, exit_cmd); 286 menu.insert(str_label, exit_cmd);
286 } else if (str_key == "config") { 287 } else if (str_key == "config") {
287 menu.insert(str_label, RefMenu(screen->configMenu()) ); 288 menu.insert(str_label, RefMenu(screen->configMenu()) );
289 } else if (str_key == "lua") {
290 l.rawgetfield(-1, "param");
291 menu.insert(str_label, RefCmd(new FbCommands::LuaCmd(l)) );
288 } else if(str_key == "menu") { 292 } else if(str_key == "menu") {
289 RefMenu t(MenuCreator::createMenu("", screen_number)); 293 RefMenu t(MenuCreator::createMenu("", screen_number));
290 l.pushvalue(-1); 294 l.pushvalue(-1);