}
else if (!e_util_icon_theme_set(o, icon))
{
- evas_object_del(o);
- o = NULL;
+ char grp[1024];
+
+ snprintf(grp, sizeof(grp), "fileman/mime/%s", icon);
+ if (!e_util_icon_theme_set(o, grp))
+ {
+ evas_object_del(o);
+ o = NULL;
+ }
}
return o;
{
icon = efreet_mime_type_icon_get(file->mime, e_config->icon_theme, 128);
/* XXX can do _ref ?*/
- if ((o = evry_icon_theme_get(icon, e)))
+ if ((o = evry_icon_theme_get(icon, e)) || (o = evry_icon_theme_get(file->mime, e)))
{
/* it->icon = eina_stringshare_add(icon); */
return o;