prefer actual image previews over mime icons
SVN revision: 74862
This commit is contained in:
parent
5c7662a0ed
commit
a2a0c31062
|
@ -2168,17 +2168,17 @@ e_fm2_icon_get(Evas *evas, E_Fm2_Icon *ic,
|
||||||
if (o) return o;
|
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)
|
if (ic->info.file)
|
||||||
{
|
{
|
||||||
o = _e_fm2_icon_discover_get(evas, ic, gen_func, data,
|
o = _e_fm2_icon_discover_get(evas, ic, gen_func, data,
|
||||||
force_gen, type_ret);
|
force_gen, type_ret);
|
||||||
if (o) return o;
|
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:
|
//fallback:
|
||||||
o = _e_fm2_icon_explicit_theme_icon_get(evas, ic, "unknown", type_ret);
|
o = _e_fm2_icon_explicit_theme_icon_get(evas, ic, "unknown", type_ret);
|
||||||
|
|
Loading…
Reference in New Issue