aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2011-03-23 11:02:15 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-03-23 11:02:15 (GMT)
commite850b0191977da47eb7233e248dbab7ebd1d21f0 (patch)
treed3a3e33f1d4524147ddaa2b6b21e05bd142fc367 /src/MenuCreator.cc
parent7ece90ad4f360b3cf11e46a00d4c1ec5b60213e9 (diff)
downloadfluxbox-e850b0191977da47eb7233e248dbab7ebd1d21f0.zip
fluxbox-e850b0191977da47eb7233e248dbab7ebd1d21f0.tar.bz2
compile fix: sunCC 5.11 (sunstudio 12) compiles and links again
biggest change: renaming of 'class Layer' to 'class ResourceLayer' in Layer.hh to handle complaints about 'ambiguous Layer: Layer or FbTk::Layer'. 'ResourceLayer' sounds crappy, but that was the best I could come up with right now.
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 72e55ca..9884187 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -374,7 +374,7 @@ FbMenu *MenuCreator::createMenu(const string &label, int screen_number) {
374 374
375 FbMenu *menu = new FbMenu(screen->menuTheme(), 375 FbMenu *menu = new FbMenu(screen->menuTheme(),
376 screen->imageControl(), 376 screen->imageControl(),
377 *screen->layerManager().getLayer(Layer::MENU)); 377 *screen->layerManager().getLayer(ResourceLayer::MENU));
378 if (!label.empty()) 378 if (!label.empty())
379 menu->setLabel(label); 379 menu->setLabel(label);
380 380
@@ -511,7 +511,7 @@ bool MenuCreator::createWindowMenuItem(const string &type,
511 FbTk::Menu *submenu = 511 FbTk::Menu *submenu =
512 new AlphaMenu(screen->menuTheme(), 512 new AlphaMenu(screen->menuTheme(),
513 screen->imageControl(), 513 screen->imageControl(),
514 *screen->layerManager().getLayer(Layer::MENU)); 514 *screen->layerManager().getLayer(ResourceLayer::MENU));
515 submenu->disableTitle(); 515 submenu->disableTitle();
516 menu.insert(label.empty() ? _FB_XTEXT(Configmenu, Transparency, "Transparency", 516 menu.insert(label.empty() ? _FB_XTEXT(Configmenu, Transparency, "Transparency",
517 "Menu containing various transparency options"): label, 517 "Menu containing various transparency options"): label,
@@ -537,7 +537,7 @@ bool MenuCreator::createWindowMenuItem(const string &type,
537 537
538 FbTk::Menu *submenu = new LayerMenu(screen->menuTheme(), 538 FbTk::Menu *submenu = new LayerMenu(screen->menuTheme(),
539 screen->imageControl(), 539 screen->imageControl(),
540 *screen->layerManager().getLayer(Layer::MENU), 540 *screen->layerManager().getLayer(ResourceLayer::MENU),
541 &context, 541 &context,
542 false); 542 false);
543 submenu->disableTitle(); 543 submenu->disableTitle();