Allow Trash to fallback to Delete on failure (#27682)
Conrad Irwin
created
This fixes trashing files from the git panel on SSH remotes that don't
run a Desktop environment.
Release Notes:
- Fix trash to work on remotes with no desktop environment configured