diff options
Diffstat (limited to 'src/WinButton.cc')
-rw-r--r-- | src/WinButton.cc | 3 |
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); |