aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-01-10 01:19:13 (GMT)
committerrathnor <rathnor>2004-01-10 01:19:13 (GMT)
commit58a586a73ed03f0afa21acaf71fbbc0a5cdbeac8 (patch)
tree69380b0f39c3782c70b94528daac6786a676717c /src/IconbarTool.cc
parent5e87ca1ea430fe325d58d388af2543783e6dd640 (diff)
downloadfluxbox-58a586a73ed03f0afa21acaf71fbbc0a5cdbeac8.zip
fluxbox-58a586a73ed03f0afa21acaf71fbbc0a5cdbeac8.tar.bz2
fix small rendering issue on iconbar
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc6
1 files 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 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconbarTool.cc,v 1.27 2004/01/09 11:59:10 fluxgen Exp $ 23// $Id: IconbarTool.cc,v 1.28 2004/01/10 01:19:13 rathnor Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -45,7 +45,6 @@
45#include <typeinfo> 45#include <typeinfo>
46#include <string> 46#include <string>
47#include <iterator> 47#include <iterator>
48#include <iostream>
49using namespace std; 48using namespace std;
50 49
51template<> 50template<>
@@ -494,11 +493,11 @@ void IconbarTool::update(FbTk::Subject *subj) {
494 } 493 }
495 494
496 // unlock container and update graphics 495 // unlock container and update graphics
497 renderTheme();
498 m_icon_container.setUpdateLock(false); 496 m_icon_container.setUpdateLock(false);
499 m_icon_container.update(); 497 m_icon_container.update();
500 m_icon_container.showSubwindows(); 498 m_icon_container.showSubwindows();
501 499
500 renderTheme();
502} 501}
503 502
504IconButton *IconbarTool::findButton(FluxboxWindow &win) { 503IconButton *IconbarTool::findButton(FluxboxWindow &win) {
@@ -675,7 +674,6 @@ void IconbarTool::addWindow(FluxboxWindow &win) {
675 return; 674 return;
676 675
677 IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); 676 IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win);
678 button->setPixmap(*m_rc_use_pixmap);
679 m_icon_container.insertItem(button); 677 m_icon_container.insertItem(button);
680 m_icon_list.push_back(button); 678 m_icon_list.push_back(button);
681 679