[Differential] [Request, 21 lines] D1632: [Battery/Clock] Offer KCM access only if allowed

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


broulik created this revision.
broulik added a reviewer: Plasma.
broulik set the repository for this revision to rPLASMAWORKSPACE Plasma Workspace.
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.

TEST PLAN
  Added the respective KCM desktop file names to [KDE Control Module Restrictions]:
  
  - In Battery it is shown if one of the three KCMs is allowed, works
  - In clock the two entries are treated separately, works
  
  Confirmed that KCMShell refused to open and System Settings didn't list; still works when no restriction is set

REPOSITORY
  rPLASMAWORKSPACE Plasma Workspace

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

AFFECTED FILES
  applets/batterymonitor/package/contents/ui/PowerManagementItem.qml
  applets/batterymonitor/package/contents/ui/batterymonitor.qml
  applets/digital-clock/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/710af26b/attachment.html>


More information about the Plasma-devel mailing list