aboutsummaryrefslogtreecommitdiff
path: root/src/WinButton.cc
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2010-03-26 17:15:45 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2010-03-26 17:15:45 (GMT)
commitdd8fcc8b7b4c2bccf90edf9b0acfa52e21f5d1ce (patch)
tree9847618adbc8b6c156e8c3ad41bb2d55d74c1916 /src/WinButton.cc
parent9ad388c5bf160c8a6c90d76065286540274685fd (diff)
downloadfluxbox-dd8fcc8b7b4c2bccf90edf9b0acfa52e21f5d1ce.zip
fluxbox-dd8fcc8b7b4c2bccf90edf9b0acfa52e21f5d1ce.tar.bz2
Changed title signal in Focusable to new signal system
Diffstat (limited to 'src/WinButton.cc')
-rw-r--r--src/WinButton.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc
index d64034e..9ecbb9c 100644
--- a/src/WinButton.cc
+++ b/src/WinButton.cc
@@ -278,8 +278,7 @@ void WinButton::clear() {
278 FbTk::Button::clear(); 278 FbTk::Button::clear();
279 drawType(); 279 drawType();
280} 280}
281 281void WinButton::updateAll() {
282void WinButton::update(FbTk::Subject *subj) {
283 282
284 // update the menu icon 283 // update the menu icon
285 if (m_type == MENUICON && !m_listen_to.empty()) { 284 if (m_type == MENUICON && !m_listen_to.empty()) {
@@ -316,3 +315,7 @@ void WinButton::update(FbTk::Subject *subj) {
316 315
317 clear(); 316 clear();
318} 317}
318
319void WinButton::update(FbTk::Subject *subj) {
320 updateAll();
321}