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:
parent
697308a16f
commit
aed480c809
|
@ -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);
|
ret = _icon_standard_set(obj, name, resize);
|
||||||
if (ret && fdo) *fdo = EINA_FALSE;
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue