From 921c692f86a2428f0fe9890ff7ab1f60eb82003d Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Wed, 28 Jun 2017 09:24:16 +0900 Subject: [PATCH] elc_popup: atspi - make popup label accessible The application could customize default behavior of popup label. There was no way to get the popup label so far. --- src/lib/elementary/elc_popup.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c index a14773c..45862b0 100644 --- a/src/lib/elementary/elc_popup.c +++ b/src/lib/elementary/elc_popup.c @@ -1267,7 +1267,11 @@ _title_icon_get(const Elm_Popup_Data *sd) static Evas_Object * _content_get(const Elm_Popup_Data *sd) { - return sd->content; + Evas_Object *ret; + + ret = sd->content ? sd->content : sd->text_content_obj; + + return ret; } static Evas_Object * -- 2.7.4