aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTool.cc')
-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);