propagate constraints update on immutability change

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745247
This commit is contained in:
Aaron J. Seigo 2007-12-05 20:27:16 +00:00
parent 198544318a
commit 57f73a4dc1

View File

@ -472,6 +472,11 @@ void Corona::setImmutable(bool immutable)
}
d->immutable = immutable;
foreach (Containment *c, d->containments) {
// we need to tell each containment that immutability has been altered
// TODO: should we tell the applets too?
c->updateConstraints(ImmutableConstraint);
}
}
} // namespace Plasma