r12200 - /packages/unstable/gnome-app-install/debian/patches/01_fixicons.patch

jak-guest at users.alioth.debian.org jak-guest at users.alioth.debian.org
Wed Aug 1 21:23:39 UTC 2007


Author: jak-guest
Date: Wed Aug  1 21:23:38 2007
New Revision: 12200

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=12200
Log:
* debian/patches/01_fixicons.patch: spaces, no tabs

Modified:
    packages/unstable/gnome-app-install/debian/patches/01_fixicons.patch

Modified: packages/unstable/gnome-app-install/debian/patches/01_fixicons.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-app-install/debian/patches/01_fixicons.patch?rev=12200&op=diff
==============================================================================
--- packages/unstable/gnome-app-install/debian/patches/01_fixicons.patch (original)
+++ packages/unstable/gnome-app-install/debian/patches/01_fixicons.patch Wed Aug  1 21:23:38 2007
@@ -1,14 +1,13 @@
-=== modified file 'AppInstall/CoreMenu.py'
---- old/AppInstall/CoreMenu.py	2007-07-25 20:30:18 +0000
-+++ new/AppInstall/CoreMenu.py	2007-08-01 16:07:42 +0000
+diff -Nur gnome-app-install-0.4.5/AppInstall/CoreMenu.py gnome-app-install-0.4.5.obsolete.0.951025204806687.new/AppInstall/CoreMenu.py
+--- gnome-app-install-0.4.5/AppInstall/CoreMenu.py	2007-07-31 16:40:19.000000000 +0200
++++ gnome-app-install-0.4.5.new/AppInstall/CoreMenu.py	2007-08-01 23:22:02.086064343 +0200
 @@ -102,6 +102,9 @@
                          item.replaces = replaces
                      # Icon
                      item.iconname = entry.DesktopEntry.get("X-AppInstall-Icon", "") or entry.DesktopEntry.getIcon() or "applications-other"
 +
 +                    if item.iconname.endswith(".png") or item.iconname.endswith(".xpm") or item.iconname.endswith(".svg"):
-+                    	item.iconname = item.iconname[:-4]
++                        item.iconname = item.iconname[:-4]
                      item.mime = entry.DesktopEntry.get('MimeType', list=True)
                      item.codecs = entry.DesktopEntry.get("X-AppInstall-Codecs").split(';')
                      item.patentBadness = entry.DesktopEntry.get("X-AppInstall-PatentBadness", type='boolean')
-




More information about the pkg-gnome-commits mailing list