diff options
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r-- | src/SystemTray.hh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/SystemTray.hh b/src/SystemTray.hh index 132069a..c67e08a 100644 --- a/src/SystemTray.hh +++ b/src/SystemTray.hh | |||
@@ -25,6 +25,7 @@ | |||
25 | 25 | ||
26 | #include "FbTk/FbWindow.hh" | 26 | #include "FbTk/FbWindow.hh" |
27 | #include "FbTk/EventHandler.hh" | 27 | #include "FbTk/EventHandler.hh" |
28 | #include "FbTk/Signal.hh" | ||
28 | 29 | ||
29 | #include "ToolTheme.hh" | 30 | #include "ToolTheme.hh" |
30 | #include "ToolbarItem.hh" | 31 | #include "ToolbarItem.hh" |
@@ -42,7 +43,8 @@ template <class T> class ThemeProxy; | |||
42 | class Observer; | 43 | class Observer; |
43 | } | 44 | } |
44 | 45 | ||
45 | class SystemTray: public ToolbarItem, public FbTk::EventHandler { | 46 | class SystemTray: public ToolbarItem, public FbTk::EventHandler, |
47 | private FbTk::SignalTracker { | ||
46 | public: | 48 | public: |
47 | 49 | ||
48 | explicit SystemTray(const FbTk::FbWindow &parent, | 50 | explicit SystemTray(const FbTk::FbWindow &parent, |
@@ -85,7 +87,10 @@ public: | |||
85 | static Atom getXEmbedInfoAtom(); | 87 | static Atom getXEmbedInfoAtom(); |
86 | 88 | ||
87 | private: | 89 | private: |
88 | 90 | /// Called when an update for a screen is needed. | |
91 | void updateForScreen(BScreen &screen) { | ||
92 | update(); | ||
93 | } | ||
89 | void update(); | 94 | void update(); |
90 | 95 | ||
91 | typedef std::list<TrayWindow *> ClientList; | 96 | typedef std::list<TrayWindow *> ClientList; |