[Differential] [Request, 6 lines] D1633: [Kickoff/Trash] Offer KCM access only if allowed

broulik (Kai Uwe Broulik) noreply at phabricator.kde.org
Wed May 18 18:01:24 UTC 2016


broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to rPLASMADESKTOP Plasma Desktop.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Remove the context menus that would do nothing if access to those KCMs is restricted.
  Don't indicate clickable area with pointy cursor for Kickoff user avatar if restricted.
  Also fix trash desktop file name.

TEST PLAN
  Added the respective KCM desktop file names to [KDE Control Module Restrictions]:
  
  - Didn't get a "Configure" entry for Trash
  - No more pointy finger on Kickoff user avatar
  
  Confirmed that KCMShell refused to open and Dolphin / System Settings didn't list; still works when no restriction is set.
  KTP applet, Printer Manager applet and potentially others would need to be adjusted still.

REPOSITORY
  rPLASMADESKTOP Plasma Desktop

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

AFFECTED FILES
  applets/kickoff/package/contents/ui/Header.qml
  applets/trash/package/contents/ui/main.qml

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, Plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160518/a713ffaf/attachment.html>


More information about the Plasma-devel mailing list