forked from enlightenment/enlightenment
parent
39057aea4b
commit
4078be3fab
|
@ -429,10 +429,16 @@ evry_icon_theme_get(const char *icon, Evas *e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!e_util_icon_theme_set(o, icon))
|
else if (!e_util_icon_theme_set(o, icon))
|
||||||
|
{
|
||||||
|
char grp[1024];
|
||||||
|
|
||||||
|
snprintf(grp, sizeof(grp), "fileman/mime/%s", icon);
|
||||||
|
if (!e_util_icon_theme_set(o, grp))
|
||||||
{
|
{
|
||||||
evas_object_del(o);
|
evas_object_del(o);
|
||||||
o = NULL;
|
o = NULL;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
@ -491,7 +497,7 @@ evry_util_icon_get(Evry_Item *it, Evas *e)
|
||||||
{
|
{
|
||||||
icon = efreet_mime_type_icon_get(file->mime, e_config->icon_theme, 128);
|
icon = efreet_mime_type_icon_get(file->mime, e_config->icon_theme, 128);
|
||||||
/* XXX can do _ref ?*/
|
/* 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); */
|
/* it->icon = eina_stringshare_add(icon); */
|
||||||
return o;
|
return o;
|
||||||
|
|
Loading…
Reference in New Issue