diff options
author | Dowon Park <dowon.park@samsung.com> | 2013-02-06 19:07:45 +0900 |
---|---|---|
committer | Dowon Park <dowon.park@samsung.com> | 2013-02-06 19:07:45 +0900 |
commit | 312333e9a88572680981e5abb6e6bd82d5d0289d (patch) | |
tree | eb10b7129a37b208ef9e05a08023ad86228f1ac7 /thread | |
parent | ea6f82d36f53be4c1e19c78424dba53cf3606ae3 (diff) | |
download | message-app-312333e9a88572680981e5abb6e6bd82d5d0289d.tar.gz message-app-312333e9a88572680981e5abb6e6bd82d5d0289d.tar.bz2 message-app-312333e9a88572680981e5abb6e6bd82d5d0289d.zip |
fix N_SE-24422. reset thread list after cancel search
Change-Id: Ie72245143e9283a8ec3a6a15a1112af4d9d84f21
Diffstat (limited to 'thread')
-rwxr-xr-x | thread/src/msg-ui-thread-callback.c | 25 |
1 files changed, 1 insertions, 24 deletions
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; } |