[ATSPI][Popup] "Alert" reading text of popup is inserted when user does not set Acces... 13/133213/1
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 9 Jun 2017 08:03:37 +0000 (17:03 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 9 Jun 2017 08:03:37 +0000 (17:03 +0900)
Change-Id: I58e657a4253fa25ec57f42977088537cd529dfc6

src/lib/elc_popup.c

index 9c3f30e..9cadecd 100644 (file)
@@ -2516,16 +2516,16 @@ _elm_popup_elm_interface_atspi_accessible_name_get(Eo *obj, Elm_Popup_Data *sd)
    ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
 
    buf = eina_strbuf_new();
-   eina_strbuf_append_printf(buf, "%s", N_("Alert"));
 
    eo_do_super(obj, MY_CLASS, _parent_name = elm_interface_atspi_accessible_name_get());
 
    if(_parent_name)
      {
-        eina_strbuf_append_printf(buf, "%s", _parent_name);
+        eina_strbuf_append_printf(buf, "%s", _parent_name);
      }
    else
      {
+        eina_strbuf_append_printf(buf, "%s", N_("Alert"));
         if (sd->title_text)
           eina_strbuf_append_printf(buf, ", %s", sd->title_text);
         else if (sd->text_content_obj)