aboutsummaryrefslogtreecommitdiff
path: root/src/WorkspaceMenu.hh
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-18 20:27:16 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-18 20:27:16 (GMT)
commit2f4db57898920a3f17eaaa2586a39dad76d5c7e8 (patch)
treed107bebec3ddb8800970dfbc482c493d5e0187ab /src/WorkspaceMenu.hh
parente4d4717703b365bc14f189bf36b3edb1e4430b90 (diff)
downloadfluxbox_pavel-2f4db57898920a3f17eaaa2586a39dad76d5c7e8.zip
fluxbox_pavel-2f4db57898920a3f17eaaa2586a39dad76d5c7e8.tar.bz2
Changed workspace count signal in BScreen to use the new signal system.
Diffstat (limited to 'src/WorkspaceMenu.hh')
-rw-r--r--src/WorkspaceMenu.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/WorkspaceMenu.hh b/src/WorkspaceMenu.hh
index 8591a65..e8a671d 100644
--- a/src/WorkspaceMenu.hh
+++ b/src/WorkspaceMenu.hh
@@ -23,6 +23,7 @@
23#define WORKSPACEMENU_HH 23#define WORKSPACEMENU_HH
24 24
25#include "FbMenu.hh" 25#include "FbMenu.hh"
26#include "FbTk/Signal.hh"
26 27
27class BScreen; 28class BScreen;
28 29
@@ -33,7 +34,7 @@ class BScreen;
33 * workspace name. 34 * workspace name.
34 * It also contains client menus for all clients. 35 * It also contains client menus for all clients.
35 */ 36 */
36class WorkspaceMenu: public FbMenu { 37class WorkspaceMenu: public FbMenu, private FbTk::SignalTracker {
37public: 38public:
38 explicit WorkspaceMenu(BScreen &screen); 39 explicit WorkspaceMenu(BScreen &screen);
39 virtual ~WorkspaceMenu() { } 40 virtual ~WorkspaceMenu() { }
@@ -42,6 +43,9 @@ public:
42private: 43private:
43 /// initialize menu for the screen 44 /// initialize menu for the screen
44 void init(BScreen &screen); 45 void init(BScreen &screen);
46 /// Called when workspace info was changed
47 /// ( number of workspace, workspace names etc )
48 void workspaceInfoChanged( BScreen& screen );
45}; 49};
46 50
47#endif // WORKSPACEMENU_HH 51#endif // WORKSPACEMENU_HH