the Containment plugin for the default desktop will be simply called "desktop"

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=720730
This commit is contained in:
Aaron J. Seigo 2007-10-03 15:45:31 +00:00
parent 35b31cd630
commit 0cfd584408

View File

@ -216,7 +216,7 @@ void Corona::loadDefaultSetup()
int numScreens = desktop.numScreens();
// create a containment for each screen
for (int i = 0; i < numScreens; ++i) {
Containment* c = addContainment("default");
Containment* c = addContainment("desktop");
c->setScreen(i);
c->setFormFactor(Plasma::Planar);
}
@ -325,7 +325,7 @@ void Corona::dragEnterEvent( QGraphicsSceneDragDropEvent *event)
if (event->mimeData()->hasFormat(d->mimetype) ||
KUrl::List::canDecode(event->mimeData())) {
event->acceptProposedAction();
//TODO Create the applet, move to mouse position then send the
//TODO Create the applet, move to mouse position then send the
// following event to lock it to the mouse
//QMouseEvent event(QEvent::MouseButtonPress, event->pos(), Qt::LeftButton, event->mouseButtons(), 0);
//QApplication::sendEvent(this, &event);