aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.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/WinButton.cc
parent54230c9a4474baf4f1c56773992212093e222349 (diff)
downloadfluxbox-f7d7dfd2a8047207dbe90bc77592c25acf4ca15c.zip
fluxbox-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/WinButton.cc')
-rw-r--r--src/WinButton.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc
index 9ecbb9c..22fe29c 100644
--- a/src/WinButton.cc
+++ b/src/WinButton.cc
@@ -44,7 +44,8 @@ WinButton::WinButton(FluxboxWindow &listen_to,
44 m_theme(theme), m_pressed_theme(pressed), 44 m_theme(theme), m_pressed_theme(pressed),
45 m_icon_pixmap(0), m_icon_mask(0), 45 m_icon_pixmap(0), m_icon_mask(0),
46 overrode_bg(false), overrode_pressed(false) { 46 overrode_bg(false), overrode_pressed(false) {
47 theme.reconfigSig().attach(this); 47
48 join(theme.reconfigSig(), FbTk::MemFun(*this, &WinButton::updateAll));
48 49
49 if (buttontype == MENUICON) 50 if (buttontype == MENUICON)
50 update(0); 51 update(0);