[Panel Containment] Hide applet if its status is Hidden

Review Request #126776 - Created Jan. 17, 2016 and submitted

Information
Kai Uwe Broulik
plasma-desktop
master
126777
Reviewers
plasma

With the newly introduced HiddenStatus we now have a way to hide panel applets in a controlled way instead of incorporating hacks like we currently do for the Pager.

When an applet sets its status to Hidden it will be removed from the layout and fully collapse as if it wasn't there. However, if you open the panel configuration, it shows up so you can still configure and permanently remove an applet, if so desired.

Pager completely collapses (Review 126777) when I only have one virtual desktop and re-appears if there are multiple. It also re-appears when I enter panel configuration.

This should also be used for the quick chat applet.

Marco Martin
Kai Uwe Broulik
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit dc7c3c1a0f25ae4e6f9d66b9c8df300d0768c9f7 by Kai Uwe Broulik to branch master.
Loading...