D11944: [Folder View] Update "Empty Trash" enabled state for files inside Trash and links to Trash

Kai Uwe Broulik noreply at phabricator.kde.org
Thu Apr 5 07:18:47 UTC 2018


broulik created this revision.
broulik added reviewers: Plasma, hein.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Previously this was only done for files inside Trash. Now also the context menu of a Trash link has correct state.
  
  BUG: 392738
  FIXED-IN: 5.12.5

TEST PLAN
  Right-clicked "Trash" on my desktop, "Empty trash" was enabled.
  Emptied trash, right-clicked again, "Empty trash" was disabled.
  Same for files inside `trash:/` when FolderView is set to show `trash:/` location

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D11944

AFFECTED FILES
  containments/desktop/plugins/folder/foldermodel.cpp
  containments/desktop/plugins/folder/foldermodel.h

To: broulik, #plasma, hein
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180405/1e11d31d/attachment.html>


More information about the Plasma-devel mailing list