From 312333e9a88572680981e5abb6e6bd82d5d0289d Mon Sep 17 00:00:00 2001 From: Dowon Park Date: Wed, 6 Feb 2013 19:07:45 +0900 Subject: fix N_SE-24422. reset thread list after cancel search Change-Id: Ie72245143e9283a8ec3a6a15a1112af4d9d84f21 --- thread/src/msg-ui-thread-callback.c | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'thread') diff --git a/thread/src/msg-ui-thread-callback.c b/thread/src/msg-ui-thread-callback.c index 425084f..b97c8d0 100755 --- a/thread/src/msg-ui-thread-callback.c +++ b/thread/src/msg-ui-thread-callback.c @@ -867,31 +867,8 @@ void msg_ui_thread_searchbar_cancel_click_cb(void *data, Evas_Object *obj, void pListData->search_timer = NULL; } - entry = elm_object_part_content_get(pListData->searchbar, "elm.swallow.content"); - elm_object_text_set(entry, ""); - elm_object_signal_emit(pListData->searchbar, "elm,state,guidetext,show", "elm"); evas_object_hide(obj); - elm_object_signal_emit(pListData->searchbar, "cancel,out", ""); - elm_object_focus_set(entry, EINA_FALSE); - - pListData->search_mode = THREAD_SEARCH_OFF; - elm_genlist_mode_set(pListData->genlist, ELM_LIST_SCROLL); - - if (pListData->list_type== THREAD_NORMAL_LIST_TYPE) - msg_ui_thread_list_load(pListData, FALSE); - else - msg_ui_thread_msg_list_load(pListData, pListData->list_type); - - if (msg_ui_thread_rotation_get() == false) { - evas_object_show(pListData->search_btn); - elm_object_item_part_content_set(pListData->nf_it, "title_right_btn", pListData->search_btn); - - edje_object_signal_emit(_EDJ(pListData->content_ly), "hide_searchbar", "sel_all"); - elm_object_part_content_unset(pListData->content_ly, "sel_all"); - evas_object_hide(pListData->searchbar); - - msg_ui_thread_show_toolbar(pListData); - } + msg_ui_thread_cancel_search_mode(pListData); D_LEAVE; } -- cgit v1.2.3