System Tray: Stop an applet when it is disabled

Original commit message(s)

  • System Tray: Stop an applet when it is disabled

PlasmoidRegistry emits plasmoidDisabled, but nothing acted on it, so a disabled applet kept running until the next login. This was the case since 371e91b9.

Reason for the change

See above.

Test plan

Disable a widget in systray configuration, click apply and make sure it stopped running. Previously, it would not.

Bugs fixed

Weirdly, nobody seems to have ever reported this :-).

Merge request reports

Loading