rpms/kdebase/devel kdebase-3.5.4-tango-icon-theme.patch, NONE, 1.1 kdebase.spec, 1.224, 1.225

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 13 14:49:37 UTC 2006


Author: than

Update of /cvs/dist/rpms/kdebase/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5109

Modified Files:
	kdebase.spec 
Added Files:
	kdebase-3.5.4-tango-icon-theme.patch 
Log Message:
add more icon contexts (Tango icontheme)


kdebase-3.5.4-tango-icon-theme.patch:
 kdialog.cpp |   14 ++++++++++++++
 1 files changed, 14 insertions(+)

--- NEW FILE kdebase-3.5.4-tango-icon-theme.patch ---
--- kdebase-3.5.4/kdialog/kdialog.cpp.orig	2006-05-22 20:12:42.000000000 +0200
+++ kdebase-3.5.4/kdialog/kdialog.cpp	2006-09-13 16:48:41.000000000 +0200
@@ -621,6 +621,20 @@
             context = KIcon::Application;
         else if ( contextStr == QString::fromLatin1( "Actions" ) )
             context = KIcon::Action;
+        else if ( contextStr == QString::fromLatin1( "Animations" ) )
+            context = KIcon::Animation;
+        else if ( contextStr == QString::fromLatin1( "Categories" ) )
+            context = KIcon::Category;
+        else if ( contextStr == QString::fromLatin1( "Emblems" ) )
+            context = KIcon::Emblem;
+        else if ( contextStr == QString::fromLatin1( "Emotes" ) )
+            context = KIcon::Emote;
+        else if ( contextStr == QString::fromLatin1( "International" ) )
+            context = KIcon::International;
+        else if ( contextStr == QString::fromLatin1( "Places" ) )
+            context = KIcon::Place;
+        else if ( contextStr == QString::fromLatin1( "Status" ) )
+            context = KIcon::StatusIcon;
 
 	KIconDialog dlg(0, "icon dialog");
 	kapp->setTopWidget( &dlg );


Index: kdebase.spec
===================================================================
RCS file: /cvs/dist/rpms/kdebase/devel/kdebase.spec,v
retrieving revision 1.224
retrieving revision 1.225
diff -u -r1.224 -r1.225
--- kdebase.spec	13 Sep 2006 13:09:37 -0000	1.224
+++ kdebase.spec	13 Sep 2006 14:49:34 -0000	1.225
@@ -57,6 +57,7 @@
 Patch21: kdebase-3.5.3-khelpcenter-sort.patch
 Patch22: kdebase-3.5.4-htdig.patch
 Patch23: kdebase-3.5.4-antialias.patch
+Patch24: kdebase-3.5.4-tango-icon-theme.patch
 
 # upstream patches
 Patch100: kdebase-3.5.4-halbackend-dbus.patch
@@ -175,6 +176,7 @@
 %patch21 -p1 -b .khelpcenter-sort
 %patch22 -p1 -b .htdig
 %patch23 -p1 -b .antialias
+%patch24 -p1 -b .tango-icon-theme
 
 # upstream patches
 %patch100 -p0 -b .halbackend-dbus
@@ -565,6 +567,7 @@
 - apply upstream patch
    fix #205701, no bold is displayed in konsole
 - add missing icons for package_games_kids
+- add more icon contexts (Tango icontheme)
 
 * Thu Sep 07 2006 Than Ngo <than at redhat.com> 6:3.5.4-7
 - apply upstream patch




More information about the fedora-cvs-commits mailing list