SOURCES: kdelibs-tango.patch (NEW), kdebase-tango.patch (NEW) - pa...
czarny
czarny at pld-linux.org
Tue Mar 21 16:56:35 CET 2006
Author: czarny Date: Tue Mar 21 15:56:35 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- patches to make some freedesktop.org icon standard complaint categories
---- Files affected:
SOURCES:
kdelibs-tango.patch (NONE -> 1.1) (NEW), kdebase-tango.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/kdelibs-tango.patch
diff -u /dev/null SOURCES/kdelibs-tango.patch:1.1
--- /dev/null Tue Mar 21 16:56:35 2006
+++ SOURCES/kdelibs-tango.patch Tue Mar 21 16:56:30 2006
@@ -0,0 +1,63 @@
+ndex: kio/kfile/kicondialog.cpp
+===================================================================
+--- kio/kfile/kicondialog.cpp (revision 495706)
++++ kio/kfile/kicondialog.cpp (working copy)
+@@ -331,6 +331,13 @@
+ mpCombo->insertItem(i18n("Devices"));
+ mpCombo->insertItem(i18n("Filesystems"));
+ mpCombo->insertItem(i18n("Mimetypes"));
++ mpCombo->insertItem(i18n("Animations"));
++ mpCombo->insertItem(i18n("Categories"));
++ mpCombo->insertItem(i18n("Emblems"));
++ mpCombo->insertItem(i18n("Emotes"));
++ mpCombo->insertItem(i18n("International"));
++ mpCombo->insertItem(i18n("Places"));
++ mpCombo->insertItem(i18n("Status"));
+ mpCombo->setFixedSize(mpCombo->sizeHint());
+ mpBrowseBut->setFixedWidth(mpCombo->width());
+
+Index: kdecore/kicontheme.h
+===================================================================
+--- kdecore/kicontheme.h (revision 495706)
++++ kdecore/kicontheme.h (working copy)
+@@ -51,7 +51,14 @@
+ Application, ///< An icon that represents an application.
+ Device, ///< An icon that represents a device.
+ FileSystem, ///< An icon that represents a file system.
+- MimeType ///< An icon that represents a mime type (or file type).
++ MimeType, ///< An icon that represents a mime type (or file type).
++ Animation, ///< An icon that is animated.
++ Category, ///< An icon that represents a category.
++ Emblem, ///< An icon that adds information to an existing icon.
++ Emote, ///< An icon that expresses an emotion.
++ International, ///< An icon that represents a country's flag.
++ Place, ///< An icon that represents a location (e.g. 'home', 'trash').
++ StatusIcon ///< An icon that represents an event.
+ };
+
+ /**
+Index: kdecore/kicontheme.cpp
+===================================================================
+--- kdecore/kicontheme.cpp (revision 495706)
++++ kdecore/kicontheme.cpp (working copy)
+@@ -517,6 +517,20 @@
+ mContext = KIcon::Application;
+ else if (tmp == "Actions")
+ mContext = KIcon::Action;
++ else if (tmp == "Animations")
++ mContext = KIcon::Animation;
++ else if (tmp == "Categories")
++ mContext = KIcon::Category;
++ else if (tmp == "Emblems")
++ mContext = KIcon::Emblem;
++ else if (tmp == "Emotes")
++ mContext = KIcon::Emote;
++ else if (tmp == "International")
++ mContext = KIcon::International;
++ else if (tmp == "Places")
++ mContext = KIcon::Place;
++ else if (tmp == "Status")
++ mContext = KIcon::StatusIcon;
+ else {
+ kdDebug(264) << "Invalid Context= line for icon theme: " << mDir << "\n";
+ return;
================================================================
Index: SOURCES/kdebase-tango.patch
diff -u /dev/null SOURCES/kdebase-tango.patch:1.1
--- /dev/null Tue Mar 21 16:56:35 2006
+++ SOURCES/kdebase-tango.patch Tue Mar 21 16:56:30 2006
@@ -0,0 +1,25 @@
+ndex: kdialog/kdialog.cpp
+===================================================================
+--- kdialog/kdialog.cpp (revision 495779)
++++ kdialog/kdialog.cpp (working copy)
+@@ -622,6 +622,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 );
================================================================
More information about the pld-cvs-commit
mailing list