aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-04-29 08:52:28 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:45 (GMT)
commitf7d7dfd2a8047207dbe90bc77592c25acf4ca15c (patch)
tree46eb8596d15fb0450f07e3e5d58e2c5449c4c020 /src/Toolbar.cc
parent54230c9a4474baf4f1c56773992212093e222349 (diff)
downloadfluxbox_pavel-f7d7dfd2a8047207dbe90bc77592c25acf4ca15c.zip
fluxbox_pavel-f7d7dfd2a8047207dbe90bc77592c25acf4ca15c.tar.bz2
Convert FbTk::Theme::reconfigSig and friends to the new Signal system
I removed the const versions of reconfigSig() in the process since FbTk::Signal has no const methods anyway.
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 471f5ec..1778a02 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -231,8 +231,8 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::Layer &layer, size_t width):
231 m_observers.push_back(makeObserver(*this, &Toolbar::rearrangeItems)); 231 m_observers.push_back(makeObserver(*this, &Toolbar::rearrangeItems));
232 // we need to get notified when the theme is reloaded 232 // we need to get notified when the theme is reloaded
233 m_observers.push_back(makeObserver(*this, &Toolbar::reconfigure)); 233 m_observers.push_back(makeObserver(*this, &Toolbar::reconfigure));
234 m_theme.reconfigSig().attach(m_observers.back());
235 screen().reconfigureSig().attach(m_observers.back()); // get this on antialias change 234 screen().reconfigureSig().attach(m_observers.back()); // get this on antialias change
235 m_signal_tracker.join(m_theme.reconfigSig(), FbTk::MemFun(*this, &Toolbar::reconfigure));
236 236
237 // listen to screen size changes 237 // listen to screen size changes
238 m_signal_tracker.join(screen().resizeSig(), 238 m_signal_tracker.join(screen().resizeSig(),