diff options
Diffstat (limited to 'src/WorkspaceMenu.cc')
-rw-r--r-- | src/WorkspaceMenu.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WorkspaceMenu.cc b/src/WorkspaceMenu.cc index 6403319..31b80a3 100644 --- a/src/WorkspaceMenu.cc +++ b/src/WorkspaceMenu.cc | |||
@@ -61,12 +61,12 @@ void WorkspaceMenu::update(FbTk::Subject *subj) { | |||
61 | item = find(i); | 61 | item = find(i); |
62 | if (item && item->isSelected()) { | 62 | if (item && item->isSelected()) { |
63 | setItemSelected(i, false); | 63 | setItemSelected(i, false); |
64 | FbTk::Menu::update(i); | 64 | updateMenu(i); |
65 | break; | 65 | break; |
66 | } | 66 | } |
67 | } | 67 | } |
68 | setItemSelected(screen.currentWorkspace()->workspaceID() + 2, true); | 68 | setItemSelected(screen.currentWorkspace()->workspaceID() + 2, true); |
69 | FbTk::Menu::update(screen.currentWorkspace()->workspaceID() + 2); | 69 | updateMenu(screen.currentWorkspace()->workspaceID() + 2); |
70 | } else if (subj == &screen.workspaceCountSig() || | 70 | } else if (subj == &screen.workspaceCountSig() || |
71 | subj == &screen.workspaceNamesSig()) { | 71 | subj == &screen.workspaceNamesSig()) { |
72 | while (numberOfItems() > 2) { | 72 | while (numberOfItems() > 2) { |
@@ -88,7 +88,7 @@ void WorkspaceMenu::update(FbTk::Subject *subj) { | |||
88 | insert(_FBTEXT(Menu, Icons, "Icons", "Iconic windows menu title"), | 88 | insert(_FBTEXT(Menu, Icons, "Icons", "Iconic windows menu title"), |
89 | MenuCreator::createMenuType("iconmenu", screen.screenNumber())); | 89 | MenuCreator::createMenuType("iconmenu", screen.screenNumber())); |
90 | 90 | ||
91 | FbTk::Menu::update(-1); | 91 | updateMenu(-1); |
92 | } | 92 | } |
93 | } else { | 93 | } else { |
94 | FbTk::Menu::update(subj); | 94 | FbTk::Menu::update(subj); |
@@ -126,5 +126,5 @@ void WorkspaceMenu::init(BScreen &screen) { | |||
126 | 126 | ||
127 | insert(_FBTEXT(Menu, Icons, "Icons", "Iconic windows menu title"), | 127 | insert(_FBTEXT(Menu, Icons, "Icons", "Iconic windows menu title"), |
128 | MenuCreator::createMenuType("iconmenu", screen.screenNumber())); | 128 | MenuCreator::createMenuType("iconmenu", screen.screenNumber())); |
129 | FbMenu::update(); | 129 | updateMenu(); |
130 | } | 130 | } |