aboutsummaryrefslogtreecommitdiff
path: root/src/SystemTray.cc
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.cc
parent71674739ec6de376273cb3c5b938da132e7035c5 (diff)
downloadfluxbox_pavel-d05804e6661d4976ba52ef8727ec8387e2e3bba1.zip
fluxbox_pavel-d05804e6661d4976ba52ef8727ec8387e2e3bba1.tar.bz2
Changed background changed signal in BScreen to use the new signal system
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r--src/SystemTray.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc
index 699ca47..0c3e550 100644
--- a/src/SystemTray.cc
+++ b/src/SystemTray.cc
@@ -24,6 +24,7 @@
24#include "FbTk/EventManager.hh" 24#include "FbTk/EventManager.hh"
25#include "FbTk/ImageControl.hh" 25#include "FbTk/ImageControl.hh"
26#include "FbTk/TextUtils.hh" 26#include "FbTk/TextUtils.hh"
27#include "FbTk/MemFun.hh"
27 28
28#include "AtomHandler.hh" 29#include "AtomHandler.hh"
29#include "fluxbox.hh" 30#include "fluxbox.hh"
@@ -170,7 +171,10 @@ SystemTray::SystemTray(const FbTk::FbWindow& parent,
170 // setup signals 171 // setup signals
171 m_observer.reset(makeObserver(*this, &SystemTray::update)); 172 m_observer.reset(makeObserver(*this, &SystemTray::update));
172 m_theme->reconfigSig().attach(m_observer.get()); 173 m_theme->reconfigSig().attach(m_observer.get());
173 screen.bgChangeSig().attach(m_observer.get()); 174
175 join(screen.bgChangeSig(),
176 FbTk::MemFun(*this, &SystemTray::updateForScreen));
177
174 178
175 Fluxbox* fluxbox = Fluxbox::instance(); 179 Fluxbox* fluxbox = Fluxbox::instance();
176 Display *disp = fluxbox->display(); 180 Display *disp = fluxbox->display();