[Plasma Windowed] Forward plasmoid status to SNI and update title and icon live
ClosedPublic

Authored by broulik on Mar 29 2017, 1:09 PM.

Details

Summary

Forward plasmoid status to the SNI and when the applet changes its title or icon update it.

Test Plan

Ran plasmawindowed org.kde.plasma.mediacontroller --statusnotifier

Started playback, SNI became active, icon turned into "playing". Paused playback, icon turned into "paused". Stopped playback, SNI hid itself.

Would be lovely to also forward toolTipMainText/toolTipSubText of appletInterface though.

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.Mar 29 2017, 1:09 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 29 2017, 1:09 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
broulik edited the test plan for this revision. (Show Details)Mar 29 2017, 1:09 PM
davidedmundson accepted this revision.Mar 29 2017, 1:10 PM
This revision is now accepted and ready to land.Mar 29 2017, 1:10 PM
This revision was automatically updated to reflect the committed changes.