efl_ui/image_zoomable: add icon setting fallback for fdo icons

Summary:
same as D11381
ref 697308a16f

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11403
This commit is contained in:
Mike Blumenkrantz 2020-02-24 15:34:45 +01:00 committed by Xavi Artigas
parent 697308a16f
commit aed480c809
1 changed files with 5 additions and 0 deletions

View File

@ -2901,6 +2901,11 @@ _internal_efl_ui_image_zoomable_icon_set(Evas_Object *obj, const char *name, Ein
{
ret = _icon_standard_set(obj, name, resize);
if (ret && fdo) *fdo = EINA_FALSE;
if (!ret)
{
ret = _icon_freedesktop_set(obj, name, _icon_size_min_get(obj));
if (ret && fdo) *fdo = EINA_TRUE;
}
}
else
{