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 a04860f..16acfb8 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"
@@ -347,7 +348,7 @@ static void translateMenuItem(Parser &parse, ParseItem &pitem, FbTk::StringConve
347 else if (str_key == "wallpapers" || str_key == "wallpapermenu" || 348 else if (str_key == "wallpapers" || str_key == "wallpapermenu" ||
348 str_key == "rootcommands") { 349 str_key == "rootcommands") {
349 createRootCmdMenu(menu, str_label, str_label, 350 createRootCmdMenu(menu, str_label, str_label,
350 str_cmd == "" ? "fbsetbg" : str_cmd); 351 str_cmd == "" ? realProgramName("fbsetbg") : str_cmd);
351 } // end of wallpapers 352 } // end of wallpapers
352 else if (str_key == "workspaces") { 353 else if (str_key == "workspaces") {
353 BScreen *screen = Fluxbox::instance()->findScreen(screen_number); 354 BScreen *screen = Fluxbox::instance()->findScreen(screen_number);