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;
}