diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-06-09 14:56:39 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@src.gnome.org> | 2008-06-09 14:56:39 +0000 |
commit | 22db416f787d53e8b23d4cd0b9398f23c02b1378 (patch) | |
tree | f96286db37f7ee4ee8b8ac8a916368d50a8aef1c | |
parent | bf716161b8a89b8a5a8ec522235c0b37dcbbc2dc (diff) | |
download | gvfs-22db416f787d53e8b23d4cd0b9398f23c02b1378.tar.gz |
Patch from Tomáš Bžatek <tbzatek@redhat.com> to fix the fugly icons
2008-06-09 Bastien Nocera <hadess@hadess.net>
* daemon/gvfsbackendobexftp-fl-parser.c (fl_parser_start_node_cb):
Patch from Tomáš Bžatek <tbzatek@redhat.com> to fix the fugly icons
when the mime-type of a file isn't known to us. See:
https://bugzilla.redhat.com/show_bug.cgi?id=450453
svn path=/trunk/; revision=1801
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | daemon/gvfsbackendobexftp-fl-parser.c | 2 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2008-06-09 Bastien Nocera <hadess@hadess.net> + + * daemon/gvfsbackendobexftp-fl-parser.c (fl_parser_start_node_cb): + Patch from Tomáš Bžatek <tbzatek@redhat.com> to fix the fugly icons + when the mime-type of a file isn't known to us. See: + https://bugzilla.redhat.com/show_bug.cgi?id=450453 + 2008-06-04 Bastien Nocera <hadess@hadess.net> * hal/ghalvolumemonitor.c (update_cameras): Don't add diff --git a/daemon/gvfsbackendobexftp-fl-parser.c b/daemon/gvfsbackendobexftp-fl-parser.c index 07fbb01b..79576d8e 100644 --- a/daemon/gvfsbackendobexftp-fl-parser.c +++ b/daemon/gvfsbackendobexftp-fl-parser.c @@ -135,6 +135,8 @@ fl_parser_start_node_cb (void *user_data, icon = g_content_type_get_icon (g_file_info_get_content_type (info)); if (icon != NULL) { + if (G_IS_THEMED_ICON (icon)) + g_themed_icon_append_name (G_THEMED_ICON (icon), "text-x-generic"); g_file_info_set_icon (info, icon); g_object_unref (icon); } |