rpms/gvfs/F-9 gvfs-obexftp-fallback-icon.patch, NONE, 1.1 gvfs.spec, 1.53, 1.54

Tomas Bzatek (tbzatek) fedora-extras-commits at redhat.com
Mon Jun 9 15:21:41 UTC 2008


Author: tbzatek

Update of /cvs/extras/rpms/gvfs/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13919

Modified Files:
	gvfs.spec 
Added Files:
	gvfs-obexftp-fallback-icon.patch 
Log Message:
* Mon Jun  9 2008 Tomas Bzatek <tbzatek at redhat.com> - 0.2.4-2
- obexftp: Fix the ugly icons when the mime-type of a file 
  isn't known to us


gvfs-obexftp-fallback-icon.patch:

--- NEW FILE gvfs-obexftp-fallback-icon.patch ---
Index: daemon/gvfsbackendobexftp-fl-parser.c
===================================================================
--- daemon/gvfsbackendobexftp-fl-parser.c	(revision 1800)
+++ daemon/gvfsbackendobexftp-fl-parser.c	(working copy)
@@ -135,6 +135,8 @@
 
 		icon = g_content_type_get_icon (g_file_info_get_content_type (info));
 		if (icon != NULL) {
+			if (G_IS_THEMED_ICON (icon))
+				g_themed_icon_append_name (G_THEMED_ICON (icon), "text-x-generic");
 			g_file_info_set_icon (info, icon);
 			g_object_unref (icon);
 		}


Index: gvfs.spec
===================================================================
RCS file: /cvs/extras/rpms/gvfs/F-9/gvfs.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- gvfs.spec	6 Jun 2008 14:21:21 -0000	1.53
+++ gvfs.spec	9 Jun 2008 15:21:01 -0000	1.54
@@ -1,7 +1,7 @@
 Summary: Backends for the gio framework in GLib
 Name: gvfs
 Version: 0.2.4
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.gtk.org
@@ -41,6 +41,9 @@
 Patch3: gvfs-0.2.4-libarchive-iso.patch
 Patch4: gvfs-0.2.4-smb-enable-debug.patch
 
+# https://bugzilla.redhat.com/show_bug.cgi?id=450453
+Patch5: gvfs-obexftp-fallback-icon.patch
+
 %description
 The gvfs package provides backend implementations for the gio 
 framework in GLib. It includes ftp, sftp, cifs. 
@@ -72,6 +75,7 @@
 %patch2 -p0 -b .smb-recurse
 %patch3 -p0 -b .archive-iso
 %patch4 -p1 -b .debug
+%patch5 -p0 -b .obexftp
 
 
 %build
@@ -187,6 +191,10 @@
 
 
 %changelog
+* Mon Jun  9 2008 Tomas Bzatek <tbzatek at redhat.com> - 0.2.4-2
+- obexftp: Fix the ugly icons when the mime-type of a file 
+  isn't known to us
+
 * Fri Jun  6 2008 Tomas Bzatek <tbzatek at redhat.com> - 0.2.4-1
 - Update to 0.2.4
 - Drop upstreamed patches




More information about the fedora-extras-commits mailing list