[Session Model] Show new session entry only if we actually can
ClosedPublic

Authored by broulik on Oct 19 2016, 3:18 PM.

Details

Summary

When canStartNewSession is false showNewSessionEntry doesn't make any sense.

Test Plan
[KDE Action Restrictions]
action/start_new_session=false

No longer get a "New Session" entry.
When I remove it again the entry shows up again.

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
broulik updated this revision to Diff 7550.Oct 19 2016, 3:18 PM
broulik retitled this revision from to [Session Model] Show new session entry only if we actually can.
broulik updated this object.
broulik edited the test plan for this revision. (Show Details)
broulik added a reviewer: Plasma.
broulik set the repository for this revision to R120 Plasma Workspace.
Restricted Application added a project: Plasma. · View Herald TranscriptOct 19 2016, 3:18 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Oct 19 2016, 3:19 PM
davidedmundson added a reviewer: davidedmundson.
This revision is now accepted and ready to land.Oct 19 2016, 3:19 PM
This revision was automatically updated to reflect the committed changes.