mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-12-03 20:41:50 +01:00
Inside a trashed folder, the items went to the trash with it and are not in the trash on their own. Restore on one of them restored the folder, and Delete Permanently, from the bar or the Delete key, resolved to the folder as well. Only the confirmation named the folder, after the user had chosen the destructive action. Restore keeps resolving to the folder, but the bar and the menu now say "Restore Folder “name”", under "Deleted with its folder". Delete Permanently acts only on items in the trash on their own: for items inside a trashed folder the bar's button is off with an explanation, and the Delete key explains that only the whole folder can be deleted, from the top of the trash. Restore on a location row says how many items it restores. resolve_targets separates the two cases and has unit tests.