Fix #437: Delete to standard Trash directory
authorColin Clark <colin.clark@cclark.uk>
Sat, 3 Nov 2018 17:53:31 +0000 (17:53 +0000)
committerColin Clark <colin.clark@cclark.uk>
Sat, 3 Nov 2018 17:53:31 +0000 (17:53 +0000)
commiteedf0ad8550ad5ed95a48d9770669b80bde66b5d
tree2b4bcf8b2982b6ef2c1e710c91d3066e3bb9932b
parentb53194649eb8bb201ee5543e49b2dc4c7957be91
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.
25 files changed:
doc/docbook/GuideOptionsBehavior.xml
doc/docbook/GuideReferenceKeyboardShortcuts.xml
po/en_GB.po
src/bar_sort.c
src/collect-table.c
src/collect.c
src/dupe.c
src/icons/Makefile.am
src/icons/icon_trash.png [new file with mode: 0644]
src/img-view.c
src/layout_image.c
src/layout_util.c
src/options.c
src/options.h
src/pan-view/pan-view.c
src/pixbuf_util.c
src/pixbuf_util.h
src/preferences.c
src/rcfile.c
src/search.c
src/trash.c
src/utilops.c
src/view_file/view_file.c
web/help/GuideOptionsBehavior.html
web/help/GuideReferenceKeyboardShortcuts.html