TizenRefApp-7594 Make wallpaper-ui-service header handled by Screen-reader 54/96654/2
authorOleksander Kostenko <o.kostenko@samsung.com>
Wed, 9 Nov 2016 14:16:34 +0000 (16:16 +0200)
committerOleksander Kostenko <o.kostenko@samsung.com>
Thu, 10 Nov 2016 07:48:50 +0000 (09:48 +0200)
Change-Id: I18c4e70df1a3c01173f42a8dc2b3ebb93dd2612a
Signed-off-by: Oleksander Kostenko <o.kostenko@samsung.com>
res/edje/popup-wallpaper-main-view.edc
src/wallpaper-ui-service-main.c

index c078cb2..9989df4 100644 (file)
@@ -214,7 +214,7 @@ group {
          part { name: "elm.text.title";
             type: TEXTBLOCK;
             scale: 1;
-            mouse_events: 0;
+            mouse_events: 1;
            
            //effect: TIZEN_GLOW_SHADOW; commented due to tizen_3.0 migration
            //effect: GLOW;
index 9960658..932599b 100644 (file)
@@ -756,6 +756,15 @@ HAPI void wallpaper_main_create_view(wallpaper_ui_service_appdata *data)
        elm_object_domain_translatable_part_text_set(preveiw_main_layout, "elm.text.title", PKGNAME, "IDS_LCKSCN_MBODY_WALLPAPERS");
        elm_naviframe_item_title_enabled_set(nf_it, EINA_FALSE, EINA_FALSE);
 
+    Evas_Object *title = (Evas_Object *) edje_object_part_object_get(elm_layout_edje_get(preveiw_main_layout), "elm.text.title");
+    if(title)
+    {
+        title = elm_access_object_register(title, preveiw_main_layout);
+        elm_atspi_accessible_name_set(title, "IDS_LCKSCN_MBODY_WALLPAPERS");
+        elm_atspi_accessible_translation_domain_set(title, PKGNAME);
+        elm_atspi_accessible_reading_info_type_set(title, ELM_ACCESSIBLE_READING_INFO_TYPE_NAME);
+    }
+
        /* Title Cancel Button */
        Evas_Object *cancel_btn = elm_button_add(preveiw_main_layout);
        elm_object_style_set(cancel_btn, "naviframe/back_btn/custom");