aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 0bbd14f..cb1f33c 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -290,8 +290,8 @@ static void translateMenuItem(Parser &parse, ParseItem &pitem) {
290 else if (str_key == "workspaces") { 290 else if (str_key == "workspaces") {
291 BScreen *screen = Fluxbox::instance()->findScreen(screen_number); 291 BScreen *screen = Fluxbox::instance()->findScreen(screen_number);
292 if (screen != 0) { 292 if (screen != 0) {
293 screen->getWorkspacemenu().setInternalMenu(); 293 screen->workspaceMenu().setInternalMenu();
294 menu.insert(str_label.c_str(), &screen->getWorkspacemenu()); 294 menu.insert(str_label.c_str(), &screen->workspaceMenu());
295 } 295 }
296 } else if (str_key == "separator") { 296 } else if (str_key == "separator") {
297 menu.insert(new FbTk::MenuSeparator()); 297 menu.insert(new FbTk::MenuSeparator());