summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-02-24 15:34:45 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2020-02-24 15:35:39 +0100
commitaed480c8093ab4dfa3be156dd235c7392db8fa63 (patch)
treeb388d91a5c4e87d6dfde1d044c97c022cdea0d5f
parent697308a16f77e3e7b7dac6e74293850a3950e3d3 (diff)
efl_ui/image_zoomable: add icon setting fallback for fdo icons
Summary: same as D11381 ref 697308a16f77e3e7b7dac6e74293850a3950e3d3 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11403
-rw-r--r--src/lib/elementary/efl_ui_image_zoomable.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_image_zoomable.c b/src/lib/elementary/efl_ui_image_zoomable.c
index f8b40d648b..e71f72b166 100644
--- a/src/lib/elementary/efl_ui_image_zoomable.c
+++ b/src/lib/elementary/efl_ui_image_zoomable.c
@@ -2901,6 +2901,11 @@ _internal_efl_ui_image_zoomable_icon_set(Evas_Object *obj, const char *name, Ein
2901 { 2901 {
2902 ret = _icon_standard_set(obj, name, resize); 2902 ret = _icon_standard_set(obj, name, resize);
2903 if (ret && fdo) *fdo = EINA_FALSE; 2903 if (ret && fdo) *fdo = EINA_FALSE;
2904 if (!ret)
2905 {
2906 ret = _icon_freedesktop_set(obj, name, _icon_size_min_get(obj));
2907 if (ret && fdo) *fdo = EINA_TRUE;
2908 }
2904 } 2909 }
2905 else 2910 else
2906 { 2911 {