aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceMenu.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-10-23 21:19:12 (GMT)
committermarkt <markt>2007-10-23 21:19:12 (GMT)
commitecead0f5ede328a75103c32398114586e40f5e45 (patch)
tree931b4caeea34dac912dd216cb8425e8587e56bb9 /src/WorkspaceMenu.cc
parentda545ea02e95e9c28f41cc013db84fc71cb9278e (diff)
downloadfluxbox_pavel-ecead0f5ede328a75103c32398114586e40f5e45.zip
fluxbox_pavel-ecead0f5ede328a75103c32398114586e40f5e45.tar.bz2
adding/removing workspaces wasn't updating menu
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r--src/WorkspaceMenu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc
index 1083ea3..43cd3a3 100644
--- a/src/WorkspaceMenu.cc
+++ b/src/WorkspaceMenu.cc
@@ -95,7 +95,7 @@ void WorkspaceMenu::update(FbTk::Subject *subj) {
95 wkspc->name().c_str(), 95 wkspc->name().c_str(),
96 &wkspc->menu()); 96 &wkspc->menu());
97 FbTk::RefCount<FbTk::Command> jump_cmd(new JumpToWorkspaceCmd(wkspc->workspaceID())); 97 FbTk::RefCount<FbTk::Command> jump_cmd(new JumpToWorkspaceCmd(wkspc->workspaceID()));
98 mb_menu->setCommand(2, jump_cmd); 98 mb_menu->setCommand(3, jump_cmd);
99 insert(mb_menu, workspace + IDX_AFTER_ICONS); 99 insert(mb_menu, workspace + IDX_AFTER_ICONS);
100 } 100 }
101 101