aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-06-17 00:17:22 (GMT)
committerrathnor <rathnor>2004-06-17 00:17:22 (GMT)
commita49d1128cd4561eeceedbba10b3a705298a81032 (patch)
tree96f5d505b29771560c33855548bf18985466e795 /src
parent8f88c1fecb28dc15ecfd2ee210a8e466afe5456c (diff)
downloadfluxbox-a49d1128cd4561eeceedbba10b3a705298a81032.zip
fluxbox-a49d1128cd4561eeceedbba10b3a705298a81032.tar.bz2
tweak iconbar rendertheme - need to re-render after addWindow
Diffstat (limited to 'src')
-rw-r--r--src/IconbarTool.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index eaaa0fe..65a0c3e 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.39 2004/06/16 15:38:19 rathnor Exp $ 23// $Id: IconbarTool.cc,v 1.40 2004/06/17 00:17:22 rathnor Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -717,7 +717,7 @@ void IconbarTool::addWindow(FluxboxWindow &win) {
717 717
718 IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win); 718 IconButton *button = new IconButton(m_icon_container, m_theme.focusedText().font(), win);
719 719
720 renderButton(*button, false); 720 renderButton(*button, false); // update the attributes, but don't clear it
721 m_icon_container.insertItem(button); 721 m_icon_container.insertItem(button);
722 m_icon_list.push_back(button); 722 m_icon_list.push_back(button);
723 723
@@ -792,6 +792,7 @@ void IconbarTool::addList(std::list<FluxboxWindow *> &winlist) {
792 std::list<FluxboxWindow *>::iterator it_end = winlist.end(); 792 std::list<FluxboxWindow *>::iterator it_end = winlist.end();
793 for (; it != it_end; ++it) 793 for (; it != it_end; ++it)
794 addWindow(**it); 794 addWindow(**it);
795 renderTheme();
795} 796}
796 797
797void IconbarTool::timedRender() { 798void IconbarTool::timedRender() {