GNOME Bugzilla – Bug 676356
icon-theme: Allow symbolic GFileIcons
Last modified: 2012-06-01 14:42:08 UTC
See https://mail.gnome.org/archives/gnome-shell-list/2012-May/msg00116.html for details here.
Created attachment 214434 [details] [review] icon-theme: Allow symbolic GFileIcons gtk_icon_info_load_symbolic checks for the existance of a filename parameter so it can include it along with the stylesheet. We don't set the filename parameter when creating the info for a GFileIcon, for some reason.
Review of attachment 214434 [details] [review]: ::: gtk/gtkicontheme.c @@ +3864,3 @@ + if (G_IS_FILE_ICON (icon)) + info->filename = g_file_get_path (g_file_icon_get_file (G_FILE_ICON (icon))); You should check for the return value of g_file_icon_get_file() to be non-NULL before passing it to g_file_get_path(). Other than this, looks good to me.
Created attachment 215394 [details] [review] icon-theme: Allow symbolic GFileIcons gtk_icon_info_load_symbolic checks for the existance of a filename parameter so it can include it along with the stylesheet. We don't set the filename parameter when creating the info for a GFileIcon, for some reason.
Review of attachment 215394 [details] [review]: Looks good, thanks!
Attachment 215394 [details] pushed as d9a602f - icon-theme: Allow symbolic GFileIcons