parent
a0a71e2c59
commit
c45357575f
@ -0,0 +1,18 @@
|
||||
diff -up file-roller-2.23.3/src/gtk-utils.c.broken-icon-lookup file-roller-2.23.3/src/gtk-utils.c
|
||||
--- file-roller-2.23.3/src/gtk-utils.c.broken-icon-lookup 2008-07-11 10:40:38.000000000 -0400
|
||||
+++ file-roller-2.23.3/src/gtk-utils.c 2008-07-11 10:40:46.000000000 -0400
|
||||
@@ -807,13 +807,7 @@ get_icon_pixbuf (GtkIconTheme *icon_them
|
||||
|
||||
icon_info = gtk_icon_theme_choose_icon (icon_theme, (const char **)icon_names, size, 0);
|
||||
if (icon_info == NULL) {
|
||||
- GIcon *default_icon;
|
||||
-
|
||||
- default_icon = g_content_type_get_icon ("gnome-fs-regular");
|
||||
- pixbuf = get_icon_pixbuf (icon_theme, G_THEMED_ICON (default_icon), size);
|
||||
- g_object_unref (default_icon);
|
||||
-
|
||||
- return pixbuf;
|
||||
+ icon_info = gtk_icon_theme_lookup_icon (icon_theme, "folder", size, GTK_ICON_LOOKUP_USE_BUILTIN);
|
||||
}
|
||||
|
||||
pixbuf = gtk_icon_info_load_icon (icon_info, &error);
|
Loading…
Reference in new issue