aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.hh
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 14:12:36 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2008-09-21 14:12:36 (GMT)
commitd05804e6661d4976ba52ef8727ec8387e2e3bba1 (patch)
tree096d71dcbd646d57f62bf314e5fb68cc2ac7cdb9 /src/SystemTray.hh
parent71674739ec6de376273cb3c5b938da132e7035c5 (diff)
downloadfluxbox-d05804e6661d4976ba52ef8727ec8387e2e3bba1.zip
fluxbox-d05804e6661d4976ba52ef8727ec8387e2e3bba1.tar.bz2
Changed background changed signal in BScreen to use the new signal system
Diffstat (limited to 'src/SystemTray.hh')
-rw-r--r--src/SystemTray.hh9
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;
42class Observer; 43class Observer;
43} 44}
44 45
45class SystemTray: public ToolbarItem, public FbTk::EventHandler { 46class SystemTray: public ToolbarItem, public FbTk::EventHandler,
47 private FbTk::SignalTracker {
46public: 48public:
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
87private: 89private:
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;