ctxpopup: make ctxpopup work customize accessible name. 54/118954/2
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>
Wed, 15 Mar 2017 04:07:39 +0000 (21:07 -0700)
The ctxpopup did not work for elm_atspi_accessible_name_cb_set.

Change-Id: I20a5098304cc490cbb1bbdc9ec1c6ef452ad14f3

src/mobile_lib/elc_ctxpopup.c

index de2d663a0fccf6db671425346aea7a52015dbfaa..48eae2bd59a5c1afa61ee684d228a20f6aab511b 100644 (file)
@@ -2320,6 +2320,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"))