No warning when pressing Delete in a x-gvfs-notrash mounted partition
Version information
4.20.1
Steps to reproduce
- Mount a drive with "x-gvfs-notrash" option
- Select a file in that partition
- Hit "Delete" on your keyboard
Current behavior
Warning alert was not shown when hitting delete
Expected outcome
It should show a warning like what Shift+Delete does
Backtrace
Additional information
Setting "x-gvfs-notrash" prevents the creation of ".Trash-<user-id>" in the root of the partition. In this case, no warning was shown and files aren't in ".Trash-<user-id>"