diff options
author | Mathias Gumz <akira at fluxbox dot org> | 2008-09-22 05:44:50 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2008-09-22 05:44:50 (GMT) |
commit | 769ca8f1c8e156d919f6cacf90e0651530c4d943 (patch) | |
tree | 81e47249c7953961fd61e4aa466ff50265896975 /src/WorkspaceMenu.cc | |
parent | 984fb5bef200cd7db7a9a13354f50b55919978af (diff) | |
parent | 3f33657fb721645292f798480e9e0b46d64aedf8 (diff) | |
download | fluxbox_lack-769ca8f1c8e156d919f6cacf90e0651530c4d943.zip fluxbox_lack-769ca8f1c8e156d919f6cacf90e0651530c4d943.tar.bz2 |
Merge branch 'master' of fluxbox@dev:fluxbox
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r-- | src/WorkspaceMenu.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc index c343920..f03dd3c 100644 --- a/src/WorkspaceMenu.cc +++ b/src/WorkspaceMenu.cc | |||
@@ -80,7 +80,7 @@ void WorkspaceMenu::workspaceInfoChanged( BScreen& screen ) { | |||
80 | insert(mb_menu, workspace + IDX_AFTER_ICONS); | 80 | insert(mb_menu, workspace + IDX_AFTER_ICONS); |
81 | } | 81 | } |
82 | 82 | ||
83 | updateMenu(-1); | 83 | updateMenu(); |
84 | } | 84 | } |
85 | 85 | ||
86 | void WorkspaceMenu::workspaceChanged(BScreen& screen) { | 86 | void WorkspaceMenu::workspaceChanged(BScreen& screen) { |
@@ -89,12 +89,12 @@ void WorkspaceMenu::workspaceChanged(BScreen& screen) { | |||
89 | item = find(i + IDX_AFTER_ICONS); | 89 | item = find(i + IDX_AFTER_ICONS); |
90 | if (item && item->isSelected()) { | 90 | if (item && item->isSelected()) { |
91 | setItemSelected(i + IDX_AFTER_ICONS, false); | 91 | setItemSelected(i + IDX_AFTER_ICONS, false); |
92 | updateMenu(i + IDX_AFTER_ICONS); | 92 | updateMenu(); |
93 | break; | 93 | break; |
94 | } | 94 | } |
95 | } | 95 | } |
96 | setItemSelected(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS, true); | 96 | setItemSelected(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS, true); |
97 | updateMenu(screen.currentWorkspace()->workspaceID() + IDX_AFTER_ICONS); | 97 | updateMenu(); |
98 | } | 98 | } |
99 | 99 | ||
100 | void WorkspaceMenu::init(BScreen &screen) { | 100 | void WorkspaceMenu::init(BScreen &screen) { |