MORE_EDIT_DETAIL,
MORE_DOING_UNINSTALL,
- MORE_TYPE_MAX
+ MORE_TYPE_MAX,
+ MORE_EDIT_RENAME_SHORTCUT
};
typedef enum __mf_view_type_e mf_view_type_e;
void mf_detail_data_destroy(void *data);
void mf_mw_root_category_item_update(void *data);
Eina_Bool mf_view_is_item_exists_by_name(void *data, char *name);
+void mf_view_state_set_with_pre_shortcut_rename(void *data, MORE_TYPE state);
+void mf_view_extra_reset_state_with_pre(void *data);
#endif
SAFE_FREE_OBJ(ap->mf_MainWindow.pNewFolderPopup);
ap->mf_Status.more = MORE_SEARCH;
mf_search_view_create(ap);
+ } else if (ap->mf_Status.extra == MORE_EDIT_RENAME_SHORTCUT) {
+ mf_view_state_reset_state_with_pre(ap);
} else {
ap->mf_Status.more = MORE_DEFAULT;
newContent = mf_navi_bar_content_create(ap);
mf_retm_if(data == NULL, "data is NULL");
struct appdata *ap = (struct appdata *)data;
SAFE_FREE_OBJ(ap->mf_MainWindow.pContextPopup);
+ mf_view_state_set_with_pre_shortcut_rename(ap, ap->mf_Status.more);
ap->mf_Status.more = MORE_EDIT_RENAME;
+ ap->mf_Status.extra = MORE_EDIT_RENAME_SHORTCUT;
if (ap->mf_Status.view_type == mf_view_root) {
//__mf_callback_edit_share_view(ap);
elm_naviframe_item_title_enabled_set(ap->mf_MainWindow.pNaviItem, EINA_TRUE, EINA_FALSE);
static MORE_TYPE pre_decompress = MORE_DEFAULT;
static MORE_TYPE pre_compress = MORE_DEFAULT;
static MORE_TYPE pre_delete = MORE_DEFAULT;
+static MORE_TYPE extra_rename = MORE_DEFAULT;
// static MORE_TYPE pre_launch = MORE_DEFAULT;
+void mf_view_extra_reset_state_with_pre(void *data)
+{
+ mf_retm_if(data == NULL, "data is NULL");
+ struct appdata *ap = (struct appdata *)data;
+ ap->mf_Status.extra = extra_rename;
+}
+
+void mf_view_state_set_with_pre_shortcut_rename(void *data, MORE_TYPE state)
+{
+ mf_retm_if(data == NULL, "data is NULL");
+ struct appdata *ap = (struct appdata *)data;
+ extra_rename = ap->mf_Status.extra;
+ pre_rename = MORE_DEFAULT;
+}
+
void mf_view_state_set_with_pre(void *data, MORE_TYPE state)
{
mf_retm_if(data == NULL, "data is NULL");