summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2014-07-11 11:11:31 +0200
committerLukasz Stanislawski <l.stanislaws@samsung.com>2014-07-15 16:45:55 +0200
commit95fa6f2313155cd1d78c8618282df9cf652000aa (patch)
tree547192880615afb3626d020fd7c971a02c3b2a76
parent87ba0163234a5c8ce8ffd8dc08269c932d7d4765 (diff)
atspi: expose elc_naviframe "top_item_get" action through d-bus
-rw-r--r--src/lib/elc_naviframe.c9
-rw-r--r--src/lib/elc_naviframe.eo3
2 files changed, 11 insertions, 1 deletions
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 4eae8b071..cefcfd493 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -11,6 +11,9 @@
11#include "elm_interface_atspi_accessible.h" 11#include "elm_interface_atspi_accessible.h"
12#include "elm_interface_atspi_accessible.eo.h" 12#include "elm_interface_atspi_accessible.eo.h"
13 13
14#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
15#include "elm_interface_atspi_widget_action.eo.h"
16
14#define MY_CLASS ELM_NAVIFRAME_CLASS 17#define MY_CLASS ELM_NAVIFRAME_CLASS
15 18
16#define MY_CLASS_NAME "Elm_Naviframe" 19#define MY_CLASS_NAME "Elm_Naviframe"
@@ -1885,4 +1888,10 @@ _elm_naviframe_class_constructor(Eo_Class *klass)
1885 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass); 1888 evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
1886} 1889}
1887 1890
1891EOLIAN const Elm_Action *
1892_elm_naviframe_elm_interface_atspi_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Naviframe_Data *pd EINA_UNUSED)
1893{
1894 return &key_actions[0];
1895}
1896
1888#include "elc_naviframe.eo.c" 1897#include "elc_naviframe.eo.c"
diff --git a/src/lib/elc_naviframe.eo b/src/lib/elc_naviframe.eo
index fe3daee54..e14deb20a 100644
--- a/src/lib/elc_naviframe.eo
+++ b/src/lib/elc_naviframe.eo
@@ -1,4 +1,4 @@
1class Elm_Naviframe (Elm_Layout) 1class Elm_Naviframe (Elm_Layout, Elm_Interface_Atspi_Widget_Action)
2{ 2{
3 eo_prefix: elm_obj_naviframe; 3 eo_prefix: elm_obj_naviframe;
4 properties { 4 properties {
@@ -274,6 +274,7 @@ class Elm_Naviframe (Elm_Layout)
274 Elm_Layout.text_get; 274 Elm_Layout.text_get;
275 Elm_Layout.signal_emit; 275 Elm_Layout.signal_emit;
276 Elm_Layout.sizing_eval; 276 Elm_Layout.sizing_eval;
277 Elm_Interface_Atspi_Widget_Action.elm_actions.get;
277 } 278 }
278 events { 279 events {
279 transition,finished; 280 transition,finished;