[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    [(tiny)PATCH] nicer icon for minicli in kasbar
From:       Kurt Granroth <granroth () kde ! org>
Date:       2001-06-22 16:23:39
[Download RAW message or body]

Kasbar, as everybody knows that uses it, is seriously cool.  But it doesn't 
look so great when applications or windows with only "mini" icons are shown.  
In that case, the mini icon is simply scaled to 48x48 and it's not pretty.

So here is a quick patch to minicli.cpp to feed it both the large and small 
icons so that they look good both on the windowbar and in kasbar.
-- 
Kurt Granroth            | http://www.granroth.org
KDE Developer/Evangelist | SuSE Labs Open Source Developer
granroth@kde.org         | granroth@suse.com
            KDE -- Conquer Your Desktop

["minicli.diff" (text/plain)]

Index: minicli.cpp
===================================================================
RCS file: /home/kde/kdebase/kdesktop/minicli.cpp,v
retrieving revision 1.83
diff -b -u -u -r1.83 minicli.cpp
--- minicli.cpp	2001/06/10 15:37:37	1.83
+++ minicli.cpp	2001/06/22 16:17:46
@@ -77,7 +77,7 @@
     QVBoxLayout* vbox = new QVBoxLayout( this, KDialog::marginHint(),
                                          KDialog::spacingHint() );
     vbox->setResizeMode( QLayout::Fixed );
-    setIcon( SmallIcon("run") );
+    KWin::setIcons( winId(), DesktopIcon("run"), SmallIcon("run") );
     setCaption( i18n("Run Command") );
 
     QHBox *hBox = new QHBox( this );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic