atspi: make popup label accessible 90/135990/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 28 Jun 2017 00:04:07 +0000 (09:04 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 28 Jun 2017 00:06:27 +0000 (09:06 +0900)
The application could customize default behavior of popup label.
There was no way to get the popup label so far.

Change-Id: I2b0477556a155574a151b063172bdb71cf72122e

src/lib/elc_popup.c

index c67f9a07efdcf80f85ff0b054fbe3f3955afd8e6..da899461e19ee16d7f9320f6386df676ee65be6f 100644 (file)
@@ -1758,7 +1758,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 *