}
}
}
-
elm_genlist_realized_items_update(ap->mf_MainWindow.
pNaviGenlist);
- edit_count = mf_search_list_count();
+ if (ap->mf_Status.search_view) {
+ edit_count = mf_search_list_count();
+ } else {
+ edit_count = elm_genlist_items_count(ap->mf_MainWindow.pNaviGenlist);
+ }
selected_all = EINA_FALSE;
}
} else {
it = elm_genlist_item_next_get(it);
}
}
- edit_count =
- mf_search_list_count();
+ if (ap->mf_Status.search_view) {
+ edit_count = mf_search_list_count();
+ } else {
+ edit_count = elm_genlist_items_count(ap->mf_MainWindow.pNaviGenlist);
+ }
} else {
Evas_Object *gengrid = ap->mf_MainWindow.pNaviGengrid;;
mfItemData_s *itemData = NULL;
mf_navi_bar_title_content_set(ap, title);
//mf_edit_view_title_btn_add(ap);
mf_edit_view_title_button_set(ap);
-
-
mf_navi_bar_set_ctrlbar_item_disable(ap->mf_MainWindow.pNaviItem,
CTRL_DISABLE_EDIT_ALL, TRUE);
MF_TRACE_END;
mfItemData_s *selected =
(mfItemData_s *) elm_object_item_data_get(item);
struct appdata *ap = (struct appdata *) selected->ap;
+ int view_style = mf_view_style_get(ap);
mf_debug("ap->mf_Status.more = %d", ap->mf_Status.more);
//fix P131209-00523 by wangyan,search -> longpress searched file-> back, highlight should be released
ap->mf_Status.search_filter = NULL;
|| ap->mf_Status.more == MORE_EDIT_COPY
|| ap->mf_Status.more == MORE_EDIT_MOVE
|| ap->mf_Status.more == MORE_EDIT_DETAIL
- || ap->mf_Status.more == MORE_EDIT_DELETE
- || ap->mf_Status.more == MORE_SHARE_EDIT) {
+ || ap->mf_Status.more == MORE_EDIT_DELETE) {
if (selected->file_type == FILE_TYPE_DIR) {
mf_info("select type is DIR");
if (mf_edit_folder_list_item_exists(selected->item)) {
mf_debug("detail callback");
mf_callback_details_cb(ap, NULL, NULL);
}
+ if (view_style != MF_VIEW_STYLE_THUMBNAIL) {
+ elm_genlist_item_fields_update(selected->item, "elm.icon.2",
+ ELM_GENLIST_ITEM_FIELD_CONTENT);
+ } else {
+ if (selected->pCheckBox) {
+ selected->m_checked =
+ !(elm_check_state_get(selected->pCheckBox));
+ elm_check_state_set(selected->pCheckBox,
+ selected->m_checked);
+ }
+ elm_gengrid_item_selected_set(selected->item,
+ selected->m_checked);
+ }
} else {
__mf_search_bar_click_item(selected);
}