diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-10-23 09:24:42 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-10-23 09:24:42 +0000 |
commit | 070e77e5fa2f40598bd6bc67df2aa3ed63d6caae (patch) | |
tree | b3df28651cd60a84eacfd958db0b7f695502e02c /daemon/gvfsbackendsmb.c | |
parent | 90b9aad29c06ec4cad9fa92b853e1d405abcfefb (diff) | |
download | gvfs-070e77e5fa2f40598bd6bc67df2aa3ed63d6caae.tar.gz |
Don't return fallback icons, since that gives problems with custom mime
2008-10-23 Alexander Larsson <alexl@redhat.com>
* daemon/gvfsbackendsftp.c:
* daemon/gvfsbackendsmb.c:
* daemon/gvfsdaemonutils.c:
Don't return fallback icons, since that gives problems
with custom mime icons (#528320)
svn path=/trunk/; revision=2074
Diffstat (limited to 'daemon/gvfsbackendsmb.c')
-rw-r--r-- | daemon/gvfsbackendsmb.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/daemon/gvfsbackendsmb.c b/daemon/gvfsbackendsmb.c index 63961b14..2c5338cf 100644 --- a/daemon/gvfsbackendsmb.c +++ b/daemon/gvfsbackendsmb.c @@ -1381,13 +1381,8 @@ set_info_from_stat (GVfsBackendSmb *backend, else { content_type = g_content_type_guess (basename, NULL, 0, NULL); - if (content_type) - { - icon = g_content_type_get_icon (content_type); - if (G_IS_THEMED_ICON (icon)) - g_themed_icon_append_name (G_THEMED_ICON (icon), "text-x-generic"); - } + icon = g_content_type_get_icon (content_type); } if (content_type) |