summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2014-07-10 13:11:28 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2014-07-10 14:13:15 +0200
commit6ecd38380d74682a25525d88c33f578479276e60 (patch)
tree052a351c4a5a2fe65d10dffaf8458dfd81f7679b
parentd86ed905a5fe10b2525ee4012c8740fcb3577ef7 (diff)
atspi: expose elm_check "activate" action through d-bus
-rw-r--r--src/lib/elm_check.c9
-rw-r--r--src/lib/elm_check.eo3
2 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/elm_check.c b/src/lib/elm_check.c
index f26ef4aaf..f64941020 100644
--- a/src/lib/elm_check.c
+++ b/src/lib/elm_check.c
@@ -12,6 +12,9 @@
12#include "elm_interface_atspi_accessible.h" 12#include "elm_interface_atspi_accessible.h"
13#include "elm_interface_atspi_accessible.eo.h" 13#include "elm_interface_atspi_accessible.eo.h"
14 14
15#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
16#include "elm_interface_atspi_widget_action.eo.h"
17
15#define MY_CLASS ELM_CHECK_CLASS 18#define MY_CLASS ELM_CHECK_CLASS
16 19
17#define MY_CLASS_NAME "Elm_Check" 20#define MY_CLASS_NAME "Elm_Check"
@@ -434,6 +437,12 @@ _elm_check_elm_widget_focus_direction_manager_is(Eo *obj EINA_UNUSED, Elm_Check_
434 return EINA_FALSE; 437 return EINA_FALSE;
435} 438}
436 439
440EOLIAN const Elm_Action *
441_elm_check_elm_interface_atspi_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Check_Data *pd EINA_UNUSED)
442{
443 return &key_actions[0];
444}
445
437static void 446static void
438_elm_check_class_constructor(Eo_Class *klass) 447_elm_check_class_constructor(Eo_Class *klass)
439{ 448{
diff --git a/src/lib/elm_check.eo b/src/lib/elm_check.eo
index 502655db0..38ad73c4a 100644
--- a/src/lib/elm_check.eo
+++ b/src/lib/elm_check.eo
@@ -1,4 +1,4 @@
1class Elm_Check (Elm_Layout) 1class Elm_Check (Elm_Layout, Elm_Interface_Atspi_Widget_Action)
2{ 2{
3 eo_prefix: elm_obj_check; 3 eo_prefix: elm_obj_check;
4 properties { 4 properties {
@@ -59,6 +59,7 @@ class Elm_Check (Elm_Layout)
59 Elm_Layout.content_aliases.get; 59 Elm_Layout.content_aliases.get;
60 Elm_Layout.sizing_eval; 60 Elm_Layout.sizing_eval;
61 Elm_Interface_Atspi_Accessible.state_set.get; 61 Elm_Interface_Atspi_Accessible.state_set.get;
62 Elm_Interface_Atspi_Widget_Action.elm_actions.get;
62 } 63 }
63 events { 64 events {
64 changed; 65 changed;