[Task Manager] Also respect visible property of configure action
ClosedPublic

Authored by broulik on Jul 7 2017, 12:12 PM.

Details

Summary

When Plasma is locked down, configure actions are hidden.
In Task Manager this was not taken into account and the action was only disabled but still listed.

Test Plan

Put the following in kdeglobals

[KDE Action Restrictions]
plasma/allow_configure_when_locked=false
plasma/plasmashell/unlockedDesktop=false

Task Manager settings was no longer listed in Task context menus.
Without the entries, it behaves as normal.

Diff Detail

Repository
R119 Plasma Desktop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik created this revision.Jul 7 2017, 12:12 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 7 2017, 12:12 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
hein accepted this revision.Jul 8 2017, 7:38 AM
This revision is now accepted and ready to land.Jul 8 2017, 7:38 AM
This revision was automatically updated to reflect the committed changes.