diff options
-rw-r--r-- | src/IconbarTool.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index ee0d7cf..6bcc6b8 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.14 2003/10/09 16:48:09 rathnor Exp $ | 23 | // $Id: IconbarTool.cc,v 1.15 2003/10/26 20:13:11 fluxgen Exp $ |
24 | 24 | ||
25 | #include "IconbarTool.hh" | 25 | #include "IconbarTool.hh" |
26 | 26 | ||
@@ -424,13 +424,14 @@ void IconbarTool::renderTheme() { | |||
424 | m_empty_pm = 0; | 424 | m_empty_pm = 0; |
425 | m_icon_container.setBackgroundColor(m_theme.emptyTexture().color()); | 425 | m_icon_container.setBackgroundColor(m_theme.emptyTexture().color()); |
426 | } else { | 426 | } else { |
427 | m_empty_pm = m_screen.imageControl().renderImage(m_icon_container.width(), m_icon_container.height(), | 427 | m_empty_pm = m_screen.imageControl().renderImage(m_icon_container.width(), |
428 | m_icon_container.height(), | ||
428 | m_theme.emptyTexture()); | 429 | m_theme.emptyTexture()); |
429 | m_icon_container.setBackgroundPixmap(m_empty_pm); | 430 | m_icon_container.setBackgroundPixmap(m_empty_pm); |
430 | } | 431 | } |
431 | 432 | ||
432 | if (tmp) | 433 | if (tmp) |
433 | m_screen.imageControl().removeImage(m_empty_pm); | 434 | m_screen.imageControl().removeImage(tmp); |
434 | 435 | ||
435 | m_icon_container.setBorderWidth(m_theme.border().width()); | 436 | m_icon_container.setBorderWidth(m_theme.border().width()); |
436 | m_icon_container.setBorderColor(m_theme.border().color()); | 437 | m_icon_container.setBorderColor(m_theme.border().color()); |