Allow Trash to fallback to Delete on failure (#27682)

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
08bb17a7ebConrad Irwin committed on 3/28/2025, 8:14:29 PM· committed by GitHubparent55c1f9d
1 file changedLine totals unavailable