diff options
author | fluxgen <fluxgen> | 2005-07-04 18:19:09 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2005-07-04 18:19:09 (GMT) |
commit | 3626faea73a7e033e14ec2d06bdcb2b180d06172 (patch) | |
tree | e2f3cdc6928eb69fbd66f64a5ab82f5a56aa31cd /src/MenuCreator.cc | |
parent | 1727656e0a36cd9095e173dfa43200ed14c178d1 (diff) | |
download | fluxbox-3626faea73a7e033e14ec2d06bdcb2b180d06172.zip fluxbox-3626faea73a7e033e14ec2d06bdcb2b180d06172.tar.bz2 |
cleaning, change getCount to numberOfWorkspaces
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r-- | src/MenuCreator.cc | 4 |
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()); |