some useful debug output, which helped me realize just how badly we need PanelLayout ... and perhaps just how broken BoxLayout is? hm.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730535
This commit is contained in:
parent
84881131e6
commit
d71b8d5a5a
@ -421,6 +421,7 @@ void Applet::save(KConfigGroup* group) const
|
||||
group->writeEntry("plugin", pluginName());
|
||||
//FIXME: for containments, we need to have some special values here w/regards to
|
||||
// screen affinity (e.g. "bottom of screen 0")
|
||||
//kDebug() << pluginName() << "geometry is" << geometry() << "pos is" << pos() << "bounding rect is" << boundingRect();
|
||||
group->writeEntry("geometry", geometry());
|
||||
|
||||
Containment* c = containment();
|
||||
|
@ -174,7 +174,7 @@ void Corona::loadApplets(const QString& configname)
|
||||
continue;
|
||||
}
|
||||
|
||||
//kDebug() << "creating applet " << cg.name() << "in containment" << cid;
|
||||
//kDebug() << "creating applet " << cg.name() << "in containment" << cid << "at geometry" << cg.readEntry("geometry", QRectF());
|
||||
int appId = cg.name().left(cg.name().indexOf('-')).toUInt();
|
||||
c->addApplet(cg.readEntry("plugin", QString()), QVariantList(),
|
||||
appId, cg.readEntry("geometry", QRectF()), true);
|
||||
|
Loading…
Reference in New Issue
Block a user