[Folder View] Offer "Empty Trash" also for trash link
ClosedPublic

Authored by broulik on Mar 2 2017, 10:20 AM.

Details

Summary

So far we offered "Empty Trash" only when Folder View points to trash:/ but on the desktop you have a trash link which didn't have this.

Test Plan
  • Right-clicked FolderView pointing to trash:/ sitting in my panel → "Empty Trash" shown
  • Right-clicked empty spot in FolderView pointing to trash:/ → "Empty Trash" shown
  • Right-clicked file inside trash:/ → Only "Restore" and "Delete" option, no "Empty Trash"
  • Right-clicked my desktop → just the default containment and folder actiosn
  • Right-flicked file on my desktop → "Move To Trash"
  • Right-clicked trash link on my desktop → "Empty Trash"

Diff Detail

Repository
R119 Plasma Desktop
Lint
Lint Skipped
Unit
Unit Tests Skipped
broulik created this revision.Mar 2 2017, 10:20 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 2 2017, 10:20 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Mar 2 2017, 3:09 PM
This revision is now accepted and ready to land.Mar 2 2017, 3:09 PM
This revision was automatically updated to reflect the committed changes.