aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r--src/Toolbar.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 1778a02..9c2d2bf 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -229,9 +229,12 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::Layer &layer, size_t width):
229 _FB_USES_NLS; 229 _FB_USES_NLS;
230 // NOTE: first subject is always the rearrangeItem ! 230 // NOTE: first subject is always the rearrangeItem !
231 m_observers.push_back(makeObserver(*this, &Toolbar::rearrangeItems)); 231 m_observers.push_back(makeObserver(*this, &Toolbar::rearrangeItems));
232
233 // get this on antialias change
234 m_signal_tracker.join(screen().reconfigureSig(),
235 FbTk::MemFunIgnoreArgs(*this, &Toolbar::reconfigure));
236
232 // we need to get notified when the theme is reloaded 237 // we need to get notified when the theme is reloaded
233 m_observers.push_back(makeObserver(*this, &Toolbar::reconfigure));
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)); 238 m_signal_tracker.join(m_theme.reconfigSig(), FbTk::MemFun(*this, &Toolbar::reconfigure));
236 239
237 // listen to screen size changes 240 // listen to screen size changes