GNOME Bugzilla – Bug 345666
The icons of file, directory and device at GtkFileChooser
Last modified: 2011-02-04 16:10:38 UTC
If GNOME theme is not installed, GtkFileChooser may not display appropriate icons. I think that if an appropriate icon can not be gotten, stock-item had better be used. And an warning message is displayed when an icon can not be loaded. I think that I had better use 'gtk_icon_theme_has_icon'. Other information:
Created attachment 67849 [details] [review] patch for gtkfilesystem.c
Created attachment 67850 [details] This screenshot is before the patch.
Created attachment 67851 [details] This screenshot is after the patch.
2006-08-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtkfilesystem.c (gtk_file_info_render_icon) (gtk_file_system_volume_render_icon): Do better fallbacks if the icon theme does not have icons. (#345666, Kazuki Iwamoto)