fix little bug with iconbar rendering

This commit is contained in:
markt 2007-01-07 18:38:03 +00:00
parent a1b78a1e6d
commit a53dabd36a
2 changed files with 8 additions and 1 deletions

View file

@ -1,6 +1,8 @@
(Format: Year/Month/Day) (Format: Year/Month/Day)
Changes for 1.0rc3: Changes for 1.0rc3:
*07/01/07: *07/01/07:
* Fix little bug with iconbar rendering, bug #1549209 (Mark)
IconbarTool.cc
* Fix RefCount crash and Slit deconstruction ordering (Simon) * Fix RefCount crash and Slit deconstruction ordering (Simon)
RefCount.hh Slit.hh/cc RefCount.hh Slit.hh/cc
* Support per-window transparency settings. * Support per-window transparency settings.

View file

@ -570,7 +570,12 @@ void IconbarTool::update(FbTk::Subject *subj) {
// another renderTheme we hopefully shouldn't need? These renders // another renderTheme we hopefully shouldn't need? These renders
// should be done individually above // should be done individually above
// renderTheme();
// nope, we still need it (or at least I'm not bothering to fix it yet)
// a new IconButton doesn't get resized properly until the
// m_icon_container.update() above; then, it never runs drawText() again,
// so text can end up behind program icons
renderTheme();
} }
IconButton *IconbarTool::findButton(FluxboxWindow &win) { IconButton *IconbarTool::findButton(FluxboxWindow &win) {