aboutsummaryrefslogtreecommitdiff
path: root/src/SendToMenu.cc
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 11:44:48 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 11:44:48 (GMT)
commit86819abab91cf3ea20540278d00bad6a6b86d4b0 (patch)
treec8020d6015f3607a67730c6873a062fe29743356 /src/SendToMenu.cc
parentf5113e2ec1743d76ac414a020f617917c7933bb7 (diff)
downloadfluxbox-86819abab91cf3ea20540278d00bad6a6b86d4b0.zip
fluxbox-86819abab91cf3ea20540278d00bad6a6b86d4b0.tar.bz2
Changed current workspace signal in BScreen to use the new signal system
Diffstat (limited to 'src/SendToMenu.cc')
-rw-r--r--src/SendToMenu.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/SendToMenu.cc b/src/SendToMenu.cc
index 397ec81..ac7612b 100644
--- a/src/SendToMenu.cc
+++ b/src/SendToMenu.cc
@@ -58,11 +58,14 @@ SendToMenu::SendToMenu(BScreen &screen):
58 m_rebuildObs = makeObserver(*this, &SendToMenu::rebuildMenu); 58 m_rebuildObs = makeObserver(*this, &SendToMenu::rebuildMenu);
59 59
60 screen.workspaceNamesSig().attach(m_rebuildObs); 60 screen.workspaceNamesSig().attach(m_rebuildObs);
61 screen.currentWorkspaceSig().attach(m_rebuildObs); 61
62 // setup new signal system
63 join( screen.currentWorkspaceSig(),
64 FbTk::MemFun(*this, &SendToMenu::rebuildMenuForScreen));
62 65
63 // setup new signal system 66 // setup new signal system
64 join( screen.workspaceCountSig(), 67 join( screen.workspaceCountSig(),
65 FbTk::MemFun(*this, &SendToMenu::workspaceCountChange) ); 68 FbTk::MemFun(*this, &SendToMenu::rebuildMenuForScreen));
66 69
67 // no title for this menu, it should be a submenu in the window menu. 70 // no title for this menu, it should be a submenu in the window menu.
68 disableTitle(); 71 disableTitle();