ctxpopup: make ctxpopup work customize accessible name. 30/118530/3
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 13 Mar 2017 04:31:30 +0000 (13:31 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 14 Mar 2017 01:39:59 +0000 (18:39 -0700)
The ctxpopup did not work for elm_atspi_accessible_name_cb_set.

Change-Id: I20a5098304cc490cbb1bbdc9ec1c6ef452ad14f3

src/mobile_lib/elc_ctxpopup.c

index da27bff59efbcbfe2b62738d2522871c5716f4e1..e2a83b88e3e8128805415d091acb8a59eb2ab4f1 100644 (file)
@@ -2259,6 +2259,9 @@ _elm_ctxpopup_elm_interface_atspi_accessible_name_get(Eo *obj, Elm_Ctxpopup_Data
    char *accessible_name = NULL;
    const char *style = elm_widget_style_get(obj);
 
+   eo_do_super(obj, ELM_CTXPOPUP_CLASS, accessible_name = elm_interface_atspi_accessible_name_get());
+   if (accessible_name) return accessible_name;
+
    ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
    buf = eina_strbuf_new();
    if (!strcmp(style, "more/default"))