stanluk pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=174190eee70997210a38f3146fdfb1207565be18

commit 174190eee70997210a38f3146fdfb1207565be18
Author: Lukasz Stanislawski <l.stanisl...@samsung.com>
Date:   Thu Jul 9 08:25:05 2015 +0200

    popup: add missing AT-SPI2 MODAL state
---
 src/lib/elc_popup.c  | 11 +++++++++++
 src/lib/elm_popup.eo |  1 +
 2 files changed, 12 insertions(+)

diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 2f88c43..4f62c67 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -1735,5 +1735,16 @@ 
_elm_popup_elm_interface_atspi_widget_action_elm_actions_get(Eo *obj EINA_UNUSED
    return &atspi_actions[0];
 }
 
+EOLIAN static Elm_Atspi_State_Set
+_elm_popup_elm_interface_atspi_accessible_state_set_get(Eo *obj, 
Elm_Popup_Data *sd EINA_UNUSED)
+{
+   Elm_Atspi_State_Set ret;
+   eo_do_super(obj, MY_CLASS, ret = 
elm_interface_atspi_accessible_state_set_get());
+
+   STATE_TYPE_SET(ret, ELM_ATSPI_STATE_MODAL);
+
+   return ret;
+}
+
 #include "elm_popup.eo.c"
 #include "elm_popup_item.eo.c"
diff --git a/src/lib/elm_popup.eo b/src/lib/elm_popup.eo
index 5e482e7..e83a9b3 100644
--- a/src/lib/elm_popup.eo
+++ b/src/lib/elm_popup.eo
@@ -201,6 +201,7 @@ class Elm.Popup (Elm.Layout, 
Elm_Interface_Atspi_Widget_Action)
       Elm.Layout.text_get;
       Elm.Layout.sizing_eval;
       Elm_Interface_Atspi_Widget_Action.elm_actions.get;
+      Elm_Interface_Atspi_Accessible.state_set.get;
    }
    events {
       block,clicked;

-- 


Reply via email to