aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 552e514..1aa8877 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -24,6 +24,7 @@
24 24
25#include "MenuCreator.hh" 25#include "MenuCreator.hh"
26 26
27#include "defaults.hh"
27#include "Screen.hh" 28#include "Screen.hh"
28#include "CommandParser.hh" 29#include "CommandParser.hh"
29#include "fluxbox.hh" 30#include "fluxbox.hh"
@@ -349,7 +350,7 @@ static void translateMenuItem(Parser &parse, ParseItem &pitem, FbTk::StringConve
349 else if (str_key == "wallpapers" || str_key == "wallpapermenu" || 350 else if (str_key == "wallpapers" || str_key == "wallpapermenu" ||
350 str_key == "rootcommands") { 351 str_key == "rootcommands") {
351 createRootCmdMenu(menu, str_label, str_label, 352 createRootCmdMenu(menu, str_label, str_label,
352 str_cmd == "" ? "fbsetbg" : str_cmd); 353 str_cmd == "" ? realProgramName("fbsetbg") : str_cmd);
353 } // end of wallpapers 354 } // end of wallpapers
354 else if (str_key == "workspaces") { 355 else if (str_key == "workspaces") {
355 BScreen *screen = Fluxbox::instance()->findScreen(screen_number); 356 BScreen *screen = Fluxbox::instance()->findScreen(screen_number);