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