prefer actual image previews over mime icons

SVN revision: 74862
This commit is contained in:
Mike Blumenkrantz 2012-08-03 18:10:23 +00:00
parent 5c7662a0ed
commit a2a0c31062
1 changed files with 5 additions and 5 deletions

View File

@ -2168,17 +2168,17 @@ e_fm2_icon_get(Evas *evas, E_Fm2_Icon *ic,
if (o) return o;
}
if (ic->info.mime)
{
o = _e_fm2_icon_mime_get(evas, ic, gen_func, data, force_gen, type_ret);
if (o) return o;
}
if (ic->info.file)
{
o = _e_fm2_icon_discover_get(evas, ic, gen_func, data,
force_gen, type_ret);
if (o) return o;
}
if (ic->info.mime)
{
o = _e_fm2_icon_mime_get(evas, ic, gen_func, data, force_gen, type_ret);
if (o) return o;
}
//fallback:
o = _e_fm2_icon_explicit_theme_icon_get(evas, ic, "unknown", type_ret);