make sure iconbar text padding gets reapplied on reconfigure
This commit is contained in:
parent
8bda89394b
commit
f1d325460e
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
(Format: Year/Month/Day)
|
||||
Changes for 1.0rc3:
|
||||
*07/03/10:
|
||||
* Fixed changing iconbar text padding requiring a toolbar refresh (Mark)
|
||||
IconbarTool.cc
|
||||
* Fixed stealing focus from unmanaged windows (Mark)
|
||||
fluxbox.cc
|
||||
*07/03/07:
|
||||
|
|
|
@ -694,6 +694,7 @@ void IconbarTool::renderButton(IconButton &button, bool clear,
|
|||
|
||||
button.setPixmap(*m_rc_use_pixmap);
|
||||
button.setAlpha(m_alpha);
|
||||
button.setTextPadding(*m_rc_client_padding);
|
||||
|
||||
// The last button is always the regular width
|
||||
bool wider_button = false;
|
||||
|
@ -804,8 +805,6 @@ void IconbarTool::addWindow(FluxboxWindow &win) {
|
|||
win);
|
||||
|
||||
|
||||
button->setTextPadding(*m_rc_client_padding);
|
||||
|
||||
renderButton(*button, false); // update the attributes, but don't clear it
|
||||
m_icon_container.insertItem(button);
|
||||
m_icon_list.push_back(button);
|
||||
|
|
Loading…
Reference in a new issue