hides the panel toolbox when the whole desktop is locked
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809993
This commit is contained in:
parent
f6d290849f
commit
573f99e978
@ -1052,6 +1052,14 @@ void Containment::Private::containmentConstraintsEvent(Plasma::Constraints const
|
||||
foreach (Applet *a, applets) {
|
||||
a->updateConstraints(ImmutableConstraint);
|
||||
}
|
||||
|
||||
if (q->isContainment() && type == PanelContainment) {
|
||||
if (unlocked) {
|
||||
toolBox->show();
|
||||
} else {
|
||||
toolBox->hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ((constraints & Plasma::SizeConstraint || constraints & Plasma::ScreenConstraint) &&
|
||||
|
Loading…
Reference in New Issue
Block a user