Always call into ksmserver DBus interface
ClosedPublic

Authored by broulik on Jul 4 2019, 12:51 PM.

Details

Summary

Previously, it would ask ksmserver to show the logout prompt and otherwise directly initate a logout through libSM.
The latter got removed, which is a good thing, but now we need to always know ksmserver which should know what to do.

Test Plan

Right click on desktop, click "Leave", get a prompt again now
Disabled "confirm logout" in startup & shutdown KCM, right clikck on desktop, click "leave", logged out directly

Clicked leave button in lock/logout applet, same correct behavior now

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 created this revision.Jul 4 2019, 12:51 PM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 4 2019, 12:51 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik requested review of this revision.Jul 4 2019, 12:51 PM
davidedmundson accepted this revision.Jul 4 2019, 1:12 PM
This revision is now accepted and ready to land.Jul 4 2019, 1:12 PM
This revision was automatically updated to reflect the committed changes.