Add a preference to remove prompting when deleting an image
Submitted by Louis Casillas
Assigned to Stephan Arts
Description
Created attachment 4996 File Deletion Prompt Preference Patch
I have found it frustrating to continually be prompted during image deletion so I created a patch that adds a preference to turn off image deletion prompting. It adds the preference in the Behavior tab under the section 'File Deletion'. The default behavior is still to prompt the user while deleting images.
The patch effects the files:
- main_window.c
- preferences_dialog.c
- settings.c
The patch adds two strings:
- "File Deletion"
- "Prompt during file deletion"
As of now the patch should work smoothly with the current master git repository with:
patch -p1 -i ristretto-file-deletion-prompt.patch
I am not sure what tools you're using to update the .po files so I did not attempt to add all necessary .po changes to the patch. I also did not change the NEWS file.
Feel free to contact me if there are any issues.
-Louis Casillas E-mail: oxaric@gmail.com
Attachment 4996, "File Deletion Prompt Preference Patch":
ristretto-file-deletion-prompt.patch