[Task manager] Use consistent menu items for "pin/unpin" actions

Authored by ngraham on Jun 16 2019, 5:19 PM.

Description

[Task manager] Use consistent menu items for "pin/unpin" actions

Summary:
Make the pinning-relatedmenu items consistent by showing separate Pin and Unpin menu
items when not using activities. When using activities, it's unavoidable, so we still
show a more complicated UI there with checkboxes for the per-activity pinning options.

BUG: 395615
FIXED-IN: 5.17.0

Test Plan:
Right-click on pinned launchers, open unpinned tasks, and open pinned tasks - see that all have the correct menu items

Do it again with mode than one Activity and see that all is still well

Reviewers: Plasma, VDG, hein

Reviewed By: Plasma, hein

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D21856

Details

Committed
ngrahamJun 17 2019, 1:02 PM
Reviewer
Plasma
Differential Revision
D21856: [Task manager] Use consistent menu items for "pin/unpin" actions
Parents
R119:b60fffd0b1df: [Night Light KCM] Display the kcm on X11 platform
Branches
Unknown
Tags
Unknown