You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
841 B
19 lines
841 B
17 years ago
|
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);
|