aboutsummaryrefslogtreecommitdiff
path: root/src/LayerMenu.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2007-12-30 15:32:53 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2007-12-30 15:32:53 (GMT)
commit04cd2fd14c6f45f61457e034906f630ce46a76cc (patch)
tree67e2f2f7977c3e8525c2ae7eb30f593f7f440b82 /src/LayerMenu.cc
parent4cc810b0d39917d37fa08034ac7dd509292c9ce3 (diff)
downloadfluxbox_pavel-04cd2fd14c6f45f61457e034906f630ce46a76cc.zip
fluxbox_pavel-04cd2fd14c6f45f61457e034906f630ce46a76cc.tar.bz2
removed some unneeded headers
Diffstat (limited to 'src/LayerMenu.cc')
-rw-r--r--src/LayerMenu.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/LayerMenu.cc b/src/LayerMenu.cc
index d8612e5..778cb7d 100644
--- a/src/LayerMenu.cc
+++ b/src/LayerMenu.cc
@@ -35,7 +35,7 @@ LayerMenu::LayerMenu(FbTk::MenuTheme &tm, FbTk::ImageControl &imgctrl,
35 ToggleMenu(tm, imgctrl, layer) { 35 ToggleMenu(tm, imgctrl, layer) {
36 _FB_USES_NLS; 36 _FB_USES_NLS;
37 37
38 38
39 struct { 39 struct {
40 int set; 40 int set;
41 int base; 41 int base;
@@ -50,17 +50,17 @@ LayerMenu::LayerMenu(FbTk::MenuTheme &tm, FbTk::ImageControl &imgctrl,
50 {0, 0, _FB_XTEXT(Layer, Bottom, "Bottom", "Layer bottom"), Layer::BOTTOM}, 50 {0, 0, _FB_XTEXT(Layer, Bottom, "Bottom", "Layer bottom"), Layer::BOTTOM},
51 {0, 0, _FB_XTEXT(Layer, Desktop, "Desktop", "Layer desktop"), Layer::DESKTOP}, 51 {0, 0, _FB_XTEXT(Layer, Desktop, "Desktop", "Layer desktop"), Layer::DESKTOP},
52 }; 52 };
53 53
54 FbTk::RefCount<FbTk::Command> saverc_cmd(new FbCommands::SaveResources()); 54 FbTk::RefCount<FbTk::Command> saverc_cmd(new FbCommands::SaveResources());
55 55
56 for (size_t i=0; i < 6; ++i) { 56 for (size_t i=0; i < 6; ++i) {
57 // TODO: fetch nls string 57 // TODO: fetch nls string
58 if (save_rc) { 58 if (save_rc) {
59 insert(new LayerMenuItem(layer_menuitems[i].default_str, 59 insert(new LayerMenuItem(layer_menuitems[i].default_str,
60 object, layer_menuitems[i].layernum, saverc_cmd)); 60 object, layer_menuitems[i].layernum, saverc_cmd));
61 } else { 61 } else {
62 insert(new LayerMenuItem(layer_menuitems[i].default_str, 62 insert(new LayerMenuItem(layer_menuitems[i].default_str,
63 object, layer_menuitems[i].layernum)); 63 object, layer_menuitems[i].layernum));
64 } 64 }
65 } 65 }
66 updateMenu(); 66 updateMenu();