Patch for gdk-pixbuf ICO "regression"



Hi

The FreeDesktop.org shared MIME database now identifies .ico files as
"image/vnd.microsoft.icon", and since gdk-pixbuf doesn't list that as
a MIME type, libgnome-desktop no longer wants to thumbnail .ico files,
and (at least) Nautilus thus displays no thumbnail for .ico files.

The attached 1 line patch adds "image/vnd.microsoft.icon" to the MIME
types listed by the gdk-pixbuf ICO loader and fixes the problem.

Thank you
Damjan Jovanovic
--- a/gdk-pixbuf/io-ico.c	2009-12-19 04:54:50.000000000 +0200
+++ b/gdk-pixbuf/io-ico.c	2010-09-09 20:48:35.937459553 +0200
@@ -1229,6 +1229,7 @@
 		{ NULL, NULL, 0 }
 	};
 	static gchar * mime_types[] = {
+		"image/vnd.microsoft.icon",
 		"image/x-icon",
 		"image/x-ico",
 		"image/x-win-bitmap",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]