add efm option to disable click renaming
SVN revision: 75012
This commit is contained in:
parent
903408f4d4
commit
d2b8ccd61a
|
@ -4601,6 +4601,7 @@ _e_fm2_icon_label_click_cb(void *data)
|
||||||
ecore_timer_del(ic->rename_click);
|
ecore_timer_del(ic->rename_click);
|
||||||
ic->rename_click = NULL;
|
ic->rename_click = NULL;
|
||||||
}
|
}
|
||||||
|
if (ic->sd->config->view.no_click_rename) return EINA_FALSE;
|
||||||
if (eina_list_count(ic->sd->selected_icons) != 1) return EINA_FALSE;
|
if (eina_list_count(ic->sd->selected_icons) != 1) return EINA_FALSE;
|
||||||
if (eina_list_data_get(ic->sd->selected_icons) != ic) return EINA_FALSE;
|
if (eina_list_data_get(ic->sd->selected_icons) != ic) return EINA_FALSE;
|
||||||
_e_fm2_file_rename(data, NULL, NULL);
|
_e_fm2_file_rename(data, NULL, NULL);
|
||||||
|
|
|
@ -69,6 +69,7 @@ struct _E_Fm2_Config
|
||||||
Eina_Bool link_drop : 1;
|
Eina_Bool link_drop : 1;
|
||||||
Eina_Bool fit_custom_pos : 1;
|
Eina_Bool fit_custom_pos : 1;
|
||||||
Eina_Bool no_typebuf_set : 1;
|
Eina_Bool no_typebuf_set : 1;
|
||||||
|
Eina_Bool no_click_rename : 1;
|
||||||
unsigned int single_click_delay;
|
unsigned int single_click_delay;
|
||||||
} view;
|
} view;
|
||||||
/* display of icons */
|
/* display of icons */
|
||||||
|
|
Loading…
Reference in New Issue