summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyuan Choi <ryuan.choi@gmail.com>2014-07-05 01:07:06 +0900
committerRyuan Choi <ryuan.choi@gmail.com>2014-07-05 01:07:06 +0900
commit304a922778ef1bf53538742408ba7280087877dc (patch)
treeb68d22e3805b09ad0296e62b3ca7c1227ca8d380
parentcab0c66982aac70c4085dc1e5639752cd3d81325 (diff)
atspi: Set roles for elm_web2
7f44b9f57 set roles for other widgets except elm_web2
-rw-r--r--src/lib/elm_web2.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/elm_web2.c b/src/lib/elm_web2.c
index f5a92c4ea..ffe768a58 100644
--- a/src/lib/elm_web2.c
+++ b/src/lib/elm_web2.c
@@ -10,6 +10,10 @@
10#if defined(HAVE_ELEMENTARY_WEB) && defined(USE_WEBKIT2) 10#if defined(HAVE_ELEMENTARY_WEB) && defined(USE_WEBKIT2)
11#include <EWebKit2.h> 11#include <EWebKit2.h>
12 12
13#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
14#include "elm_interface_atspi_accessible.h"
15#include "elm_interface_atspi_accessible.eo.h"
16
13#define MY_CLASS ELM_WEB_CLASS 17#define MY_CLASS ELM_WEB_CLASS
14 18
15#define MY_CLASS_NAME "Elm_Web" 19#define MY_CLASS_NAME "Elm_Web"
@@ -695,7 +699,8 @@ _elm_web_eo_base_constructor(Eo *obj, Elm_Web_Data *sd)
695 eo_do_super(obj, MY_CLASS, eo_constructor()); 699 eo_do_super(obj, MY_CLASS, eo_constructor());
696 eo_do(obj, 700 eo_do(obj,
697 evas_obj_type_set(MY_CLASS_NAME_LEGACY), 701 evas_obj_type_set(MY_CLASS_NAME_LEGACY),
698 evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks)); 702 evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks),
703 elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_HTML_CONTAINER));
699} 704}
700 705
701EOLIAN static Evas_Object* 706EOLIAN static Evas_Object*