summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinwoo Kim <cinoo.kim@samsung.com>2017-06-28 09:24:16 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2017-06-28 09:25:08 +0900
commit921c692f86a2428f0fe9890ff7ab1f60eb82003d (patch)
tree86907bd18310c9617a94cffc2b8a22ca331cd226
parent077791b7cc457d371f0d0b7a69d25238f5c6c352 (diff)
downloadefl-921c692f86a2428f0fe9890ff7ab1f60eb82003d.tar.gz
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.
-rw-r--r--src/lib/elementary/elc_popup.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c
index a14773c93e..45862b0901 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 *