support adding the configuration entry to the toolbox

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=859589
This commit is contained in:
Aaron J. Seigo 2008-09-10 18:42:52 +00:00
parent 8b3510bf7e
commit bf942582e8

View File

@ -208,6 +208,14 @@ void Containment::init()
d->toolBox->addTool(this->action("lock widgets"));
}
d->toolBox->addTool(this->action("add sibling containment"));
if (hasConfigurationInterface()) {
// re-use the contianment's action.
QAction* configureContainment = this->action("configure");
if (configureContainment) {
d->toolBox->addTool(this->action("configure"));
}
}
}
//Set a default wallpaper the first time the containment is created,