* catch CustomPanelContainment as well on immutability settings

* immobilize the desktop toolbox on immutability

svn path=/trunk/KDE/kdelibs/; revision=886372
This commit is contained in:
Aaron J. Seigo 2008-11-19 03:28:15 +00:00
parent b4a67cda4b
commit 323c6a7232

View File

@ -1562,8 +1562,10 @@ void ContainmentPrivate::containmentConstraintsEvent(Plasma::Constraints constra
a->updateConstraints(ImmutableConstraint);
}
if (q->isContainment() && type == Containment::PanelContainment) {
if (type == Containment::PanelContainment || type == Containment::CustomPanelContainment) {
toolBox->setVisible(unlocked);
} else {
toolBox->setIsMovable(unlocked);
}
}