aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2009-06-28 16:39:28 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2009-06-28 16:39:28 (GMT)
commitc1d9ae5068ed209a8ed051a68c269bd0158bf6a8 (patch)
tree08835b9646fbe037e1833c168c70022372f8fadc /src/IconButton.cc
parent659af0eb7548abac0f89b7de4b674678987e8bf1 (diff)
downloadfluxbox_pavel-c1d9ae5068ed209a8ed051a68c269bd0158bf6a8.zip
fluxbox_pavel-c1d9ae5068ed209a8ed051a68c269bd0158bf6a8.tar.bz2
fix changing iconbar alignment and button width from init file
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r--src/IconButton.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index d63f6da..5e42e9f 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -100,6 +100,7 @@ void IconButton::moveResize(int x, int y,
100 100
101 if (m_icon_window.width() != FbTk::Button::width() || 101 if (m_icon_window.width() != FbTk::Button::width() ||
102 m_icon_window.height() != FbTk::Button::height()) { 102 m_icon_window.height() != FbTk::Button::height()) {
103 reconfigTheme();
103 update(0); // update icon window 104 update(0); // update icon window
104 } 105 }
105} 106}
@@ -108,6 +109,7 @@ void IconButton::resize(unsigned int width, unsigned int height) {
108 FbTk::TextButton::resize(width, height); 109 FbTk::TextButton::resize(width, height);
109 if (m_icon_window.width() != FbTk::Button::width() || 110 if (m_icon_window.width() != FbTk::Button::width() ||
110 m_icon_window.height() != FbTk::Button::height()) { 111 m_icon_window.height() != FbTk::Button::height()) {
112 reconfigTheme();
111 update(0); // update icon window 113 update(0); // update icon window
112 } 114 }
113} 115}