From: sungwook79.park Date: Mon, 12 Dec 2016 06:40:07 +0000 (+0900) Subject: Fix issue that Only read out button while select on Cancel/ OK button X-Git-Tag: accepted/tizen/3.0/common/20161213.163732~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F30%2F104030%2F2;p=platform%2Fcore%2Fuifw%2Fise-default.git Fix issue that Only read out button while select on Cancel/ OK button Change-Id: I239f1ba2a90889cd19101ab4fdf33ec8cd513764 Signed-off-by: sungwook79.park --- 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);