From fd28e056d397290660c446a4124ac301827108d5 Mon Sep 17 00:00:00 2001 From: "sungwook79.park" Date: Mon, 12 Dec 2016 15:40:07 +0900 Subject: [PATCH] Fix issue that Only read out button while select on Cancel/ OK button Change-Id: I239f1ba2a90889cd19101ab4fdf33ec8cd513764 Signed-off-by: sungwook79.park --- src/option.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/option.cpp b/src/option.cpp index 49e1aa0..4591bc3 100644 --- a/src/option.cpp +++ b/src/option.cpp @@ -283,6 +283,7 @@ static void reset_settings_popup(void *data, Evas_Object *obj, void *event_info) icon_path = ICON_DIR"/tw_ic_popup_btn_delete.png"; #endif Evas_Object *btn_cancel = create_popup_button(popup, "popup/circle/left", icon_path, POPUP_CANCEL_BTN); + elm_atspi_accessible_name_set(btn_cancel, "Cancel"); elm_object_part_content_set(popup, "button1", btn_cancel); evas_object_smart_callback_add(btn_cancel, "clicked", reset_settings_popup_response_cancel_cb, popup); @@ -292,6 +293,7 @@ static void reset_settings_popup(void *data, Evas_Object *obj, void *event_info) #endif Evas_Object *btn_ok = create_popup_button(popup, "popup/circle/right", icon_path, POPUP_OK_BTN); evas_object_data_set(btn_ok, "parent_genlist", obj); + elm_atspi_accessible_name_set(btn_ok, "OK"); elm_object_part_content_set(popup, "button2", btn_ok); evas_object_smart_callback_add(btn_ok, "clicked", reset_settings_popup_response_ok_cb, popup); evas_object_show(popup); -- 2.7.4