diff options
author | markt <markt> | 2007-10-23 21:19:12 (GMT) |
---|---|---|
committer | markt <markt> | 2007-10-23 21:19:12 (GMT) |
commit | ecead0f5ede328a75103c32398114586e40f5e45 (patch) | |
tree | 931b4caeea34dac912dd216cb8425e8587e56bb9 /src/Screen.cc | |
parent | da545ea02e95e9c28f41cc013db84fc71cb9278e (diff) | |
download | fluxbox_pavel-ecead0f5ede328a75103c32398114586e40f5e45.zip fluxbox_pavel-ecead0f5ede328a75103c32398114586e40f5e45.tar.bz2 |
adding/removing workspaces wasn't updating menu
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 0589d2f..55517d8 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1202,6 +1202,7 @@ int BScreen::addWorkspace() { | |||
1202 | addWorkspaceName(wkspc->name().c_str()); //update names | 1202 | addWorkspaceName(wkspc->name().c_str()); //update names |
1203 | 1203 | ||
1204 | saveWorkspaces(m_workspaces_list.size()); | 1204 | saveWorkspaces(m_workspaces_list.size()); |
1205 | workspaceCountSig().notify(); | ||
1205 | 1206 | ||
1206 | return m_workspaces_list.size(); | 1207 | return m_workspaces_list.size(); |
1207 | 1208 | ||
@@ -1231,6 +1232,7 @@ int BScreen::removeLastWorkspace() { | |||
1231 | m_workspaces_list.pop_back(); | 1232 | m_workspaces_list.pop_back(); |
1232 | 1233 | ||
1233 | saveWorkspaces(m_workspaces_list.size()); | 1234 | saveWorkspaces(m_workspaces_list.size()); |
1235 | workspaceCountSig().notify(); | ||
1234 | // must be deleted after we send notify!! | 1236 | // must be deleted after we send notify!! |
1235 | // so we dont get bad pointers somewhere | 1237 | // so we dont get bad pointers somewhere |
1236 | // while processing the notify signal | 1238 | // while processing the notify signal |