comparison src/options.c @ 2860:b20a96b979a3

Fix #437: Delete to standard Trash directory https://github.com/BestImageViewer/geeqie/issues/437 The method of file deletion is changed. The Preferences/Behaviour option "Safe delete" is removed. The user has the option to choose Geeqie-defined trash bin or system-defined trash bin as the normal mode - set in Preferences/Behaviour. Menus have two entries: Move to trash and Permanent delete. The Delete key moves to trash; shift-Delete deletes permanently. Both Move to trash and Permanent delete have user-selectable confirmation, set in Preferences/Behaviour. This means the function of the Delete key is changed from Permanent delete to Move to trash, which is a fail-safe change.
author Colin Clark <colin.clark@cclark.uk>
date Sat, 03 Nov 2018 17:53:31 +0000
parents 1656d2341e2f
children 87242753ed2c
comparison
equal deleted inserted replaced
2859:1656d2341e2f 2860:b20a96b979a3
63 options->tools_restore_state = TRUE; 63 options->tools_restore_state = TRUE;
64 options->save_dialog_window_positions = FALSE; 64 options->save_dialog_window_positions = FALSE;
65 options->show_window_ids = FALSE; 65 options->show_window_ids = FALSE;
66 66
67 options->file_ops.confirm_delete = TRUE; 67 options->file_ops.confirm_delete = TRUE;
68 options->file_ops.confirm_move_to_trash = TRUE;
68 options->file_ops.enable_delete_key = TRUE; 69 options->file_ops.enable_delete_key = TRUE;
70 options->file_ops.use_system_trash = TRUE;
69 options->file_ops.enable_in_place_rename = TRUE; 71 options->file_ops.enable_in_place_rename = TRUE;
70 options->file_ops.safe_delete_enable = FALSE; 72 options->file_ops.safe_delete_enable = TRUE;
71 options->file_ops.safe_delete_folder_maxsize = 128; 73 options->file_ops.safe_delete_folder_maxsize = 128;
72 options->file_ops.safe_delete_path = NULL; 74 options->file_ops.safe_delete_path = NULL;
73 75
74 options->file_sort.ascending = TRUE; 76 options->file_sort.ascending = TRUE;
75 options->file_sort.case_sensitive = FALSE; 77 options->file_sort.case_sensitive = FALSE;