[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#33417: Patch to display correct icon
From: Hamish Rodda <meddie () yoyo ! cc ! monash ! edu ! au>
Date: 2001-12-21 7:35:49
[Download RAW message or body]
The attached patch fixes the code to display the correct icon.
Cheers,
Hamish
["bug33417.patch" (text/x-diff)]
Index: taskbar/taskcontainer.cpp
===================================================================
RCS file: /home/kde/kdebase/kicker/taskbar/taskcontainer.cpp,v
retrieving revision 1.40
diff -u -3 -p -u -r1.40 taskcontainer.cpp
--- taskbar/taskcontainer.cpp 2001/09/06 21:52:02 1.40
+++ taskbar/taskcontainer.cpp 2001/10/13 14:00:44
@@ -271,8 +282,11 @@ void TaskContainer::drawButton( QPainter
QPixmap pixmap;
for ( Task* t = ftasks.first(); t ; t = ftasks.next() )
- if ( !t->pixmap().isNull() )
+ if ( !t->pixmap().isNull() ) {
pixmap = t->pixmap();
+ if ( t->isActive() )
+ break;
+ }
if ( pixmap.isNull() && !startups.isEmpty() )
pixmap = SmallIcon( startups.first()->icon() );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic