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

List:       kde-devel
Subject:    [PATCH]: fix for about_kde icon who must be used by KHelpMenu
From:       fenix <fenix () club-internet ! fr>
Date:       2002-04-19 20:57:58
[Download RAW message or body]

Hi,

 this little fix is for homogeneous about_kde icons between KHelpMenu
and StdAction builds menu.

Why not using KStdActionInfos for building KHelpMenu items ? This will
limit redundancy of "standard" information.

 FeniX

PS: Configure icons in kicker have the same problem (must be found) ;(


["khelpmenu_cpp.diff" (khelpmenu_cpp.diff)]

Index: khelpmenu.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdeui/khelpmenu.cpp,v
retrieving revision 1.48
diff -u -r1.48 khelpmenu.cpp
--- khelpmenu.cpp	4 Mar 2002 00:51:48 -0000	1.48
+++ khelpmenu.cpp	19 Apr 2002 20:41:44 -0000
@@ -158,7 +158,7 @@
     
     if (kapp->authorizeKAction("help_about_kde"))
     {
-      mMenu->insertItem( SmallIcon("go"), i18n( "About &KDE" ), menuAboutKDE );
+      mMenu->insertItem( SmallIcon("about_kde"), i18n( "About &KDE" ), menuAboutKDE );
       mMenu->connectItem( menuAboutKDE, this, SLOT( aboutKDE() ) );
     }
   }

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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