From 58a586a73ed03f0afa21acaf71fbbc0a5cdbeac8 Mon Sep 17 00:00:00 2001 From: rathnor Date: Sat, 10 Jan 2004 01:19:13 +0000 Subject: fix small rendering issue on iconbar --- src/IconbarTool.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index b4a6c4f..ff10018 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: IconbarTool.cc,v 1.27 2004/01/09 11:59:10 fluxgen Exp $ +// $Id: IconbarTool.cc,v 1.28 2004/01/10 01:19:13 rathnor Exp $ #include "IconbarTool.hh" @@ -45,7 +45,6 @@ #include #include #include -#include using namespace std; template<> @@ -494,11 +493,11 @@ void IconbarTool::update(FbTk::Subject *subj) { } // unlock container and update graphics - renderTheme(); m_icon_container.setUpdateLock(false); m_icon_container.update(); m_icon_container.showSubwindows(); + renderTheme(); } IconButton *IconbarTool::findButton(FluxboxWindow &win) { @@ -675,7 +674,6 @@ void IconbarTool::addWindow(FluxboxWindow &win) { return; IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); - button->setPixmap(*m_rc_use_pixmap); m_icon_container.insertItem(button); m_icon_list.push_back(button); -- cgit v0.11.2