aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-07-07 23:11:04 (GMT)
committermarkt <markt>2007-07-07 23:11:04 (GMT)
commit135019abf97c7adb236c061d46e3906e51c8a145 (patch)
tree2e675ac4d9dfda48301e0b2a40b057448174692e /src/MenuCreator.cc
parentb735d405f58ac226e025d6ef4dbd91a0129bb12e (diff)
downloadfluxbox_pavel-135019abf97c7adb236c061d46e3906e51c8a145.zip
fluxbox_pavel-135019abf97c7adb236c061d46e3906e51c8a145.tar.bz2
fixes for --program-prefix and --program-suffix, plus fixed overwriting init file on reconfigure
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);