Index: ChangeLog =================================================================== RCS file: /cvs/gnome/nautilus/ChangeLog,v retrieving revision 1.6835 diff -u -B -p -r1.6835 ChangeLog --- ChangeLog 22 Mar 2006 09:04:20 -0000 1.6835 +++ ChangeLog 22 Mar 2006 17:39:27 -0000 @@ -1,3 +1,9 @@ +2006-03-22 Daniel Drake + + * libnautilus-private/nautilus-icon-factory.c: Only consider + the filename suffix when deciding if a file is an SVG image. + Bug #330019. + 2006-03-22 Paolo Borelli * src/nautilus-application.c: use g_strv_length instead of a Index: libnautilus-private/nautilus-icon-factory.c =================================================================== RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-factory.c,v retrieving revision 1.324 diff -u -B -p -r1.324 nautilus-icon-factory.c --- libnautilus-private/nautilus-icon-factory.c 18 Mar 2006 07:13:49 -0000 1.324 +++ libnautilus-private/nautilus-icon-factory.c 22 Mar 2006 17:39:28 -0000 @@ -1106,7 +1106,7 @@ path_represents_svg_image (const char *p * and if they're doing that, they can behave themselves * and use a .svg extension. */ - return path != NULL && (strstr (path, ".svg") != NULL || strstr (path, ".svgz") != NULL); + return path != NULL && (g_str_has_suffix (path, ".svg") || g_str_has_suffix (path, ".svgz")); } static GdkPixbuf *