[Differential] [Request, 20 lines] D2704: [Activity Manager] Hide "Create Activity" and "Delete Activity" if not authorized

broulik (Kai Uwe Broulik) noreply at phabricator.kde.org
Thu Sep 8 09:26:59 UTC 2016


broulik created this revision.
broulik added reviewers: Plasma, ivan.
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
  When the "plasma-desktop/add_activities" is set, adding and removing activities is prevented by the activity manager but we kept showing then non-functional buttons in the UI.

TEST PLAN
  Added the following to kdeglobals
  
    [KDE Action Restrictions]
    plasma-desktop/add_activities=true
  
  Opened activity manager. "Create Activity" was gone as well as the delete button on stopped activities. Removed it again and it still worked.

REPOSITORY
  rPLASMADESKTOP Plasma Desktop

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

AFFECTED FILES
  desktoppackage/contents/activitymanager/ActivityManager.qml
  desktoppackage/contents/activitymanager/StoppedActivityItem.qml
  kcms/activities/imports/CMakeLists.txt
  kcms/activities/imports/activitysettings.cpp
  kcms/activities/imports/activitysettings.h

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

To: broulik, #plasma, ivan
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160908/def1d935/attachment-0001.html>


More information about the Plasma-devel mailing list