[PATCH] fix nautilus_icon_info_new_for_icon_info()



nautilus_icon_info_new_for_icon_info() should use the filename for
determining the actually used name, instead of the display name. This
will fix blurry window title icons:

http://bugzilla.gnome.org/show_bug.cgi?id=515903

best regards,
 Christian Neumair

-- 
Christian Neumair <cneumair gnome org>
Index: libnautilus-private/nautilus-icon-info.c
===================================================================
--- libnautilus-private/nautilus-icon-info.c	(Revision 13797)
+++ libnautilus-private/nautilus-icon-info.c	(Arbeitskopie)
@@ -150,7 +150,7 @@ nautilus_icon_info_new_for_icon_info (Gt
 
 	icon->display_name = g_strdup (gtk_icon_info_get_display_name (icon_info));
 
-	filename = gtk_icon_info_get_display_name (icon_info);
+	filename = gtk_icon_info_get_filename (icon_info);
 	if (filename != NULL) {
 		basename = g_path_get_basename (filename);
 		p = strrchr (basename, '.');


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