[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/netbook/shell
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2011-01-12 0:09:15
Message-ID: 20110112000915.BF2BDAC8B5 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1213881 by aseigo:
set and use the default containment plugin
M +4 -2 netcorona.cpp
--- trunk/KDE/kdebase/workspace/plasma/netbook/shell/netcorona.cpp #1213880:1213881
@@ -76,6 +76,7 @@
a = action("lock widgets");
delete a;
setImmutability(Plasma::Mutable);
+ setDefaultContainmentPlugin("newspaper");
}
void NetCorona::loadDefaultLayout()
@@ -121,11 +122,12 @@
}
}
- Plasma::Containment *cont = addContainment("newspaper");
- //it may fail, for instance widgets locked
+ Plasma::Containment *cont = addContainment(QString());
if (!cont) {
+ //it may fail, for instance when widgets are locked
return;
}
+
cont->setActivity(i18nc("Page number", "Page %1", numPages));
cont->setScreen(0);
cont->setToolBoxOpen(true);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic