diff options
Diffstat (limited to 'src/SendToMenu.cc')
-rw-r--r-- | src/SendToMenu.cc | 7 |
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(); |