aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2007-03-10 18:12:23 (GMT)
committermarkt <markt>2007-03-10 18:12:23 (GMT)
commitf1d325460ee66b7c281184397ce90f1f033bb67b (patch)
tree2a9c8bd19c4284f44df4fb9832064d616d891155 /src
parent8bda89394b5bcbca5781f1e60bd786c17c1bee49 (diff)
downloadfluxbox_pavel-f1d325460ee66b7c281184397ce90f1f033bb67b.zip
fluxbox_pavel-f1d325460ee66b7c281184397ce90f1f033bb67b.tar.bz2
make sure iconbar text padding gets reapplied on reconfigure
Diffstat (limited to 'src')
-rw-r--r--src/IconbarTool.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 30db541..da9fb59 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -694,6 +694,7 @@ void IconbarTool::renderButton(IconButton &button, bool clear,
694 694
695 button.setPixmap(*m_rc_use_pixmap); 695 button.setPixmap(*m_rc_use_pixmap);
696 button.setAlpha(m_alpha); 696 button.setAlpha(m_alpha);
697 button.setTextPadding(*m_rc_client_padding);
697 698
698 // The last button is always the regular width 699 // The last button is always the regular width
699 bool wider_button = false; 700 bool wider_button = false;
@@ -804,8 +805,6 @@ void IconbarTool::addWindow(FluxboxWindow &win) {
804 win); 805 win);
805 806
806 807
807 button->setTextPadding(*m_rc_client_padding);
808
809 renderButton(*button, false); // update the attributes, but don't clear it 808 renderButton(*button, false); // update the attributes, but don't clear it
810 m_icon_container.insertItem(button); 809 m_icon_container.insertItem(button);
811 m_icon_list.push_back(button); 810 m_icon_list.push_back(button);