Revert "support platformcontents for shell packages"
This reverts commit 9760601704f02e1303e946703d15a9db8929f591. thinking about it, a shell package should be really device specific per se
This commit is contained in:
parent
9760601704
commit
f6e4cb790e
@ -249,18 +249,6 @@ void ShellPackage::initPackage(Plasma::Package *package)
|
|||||||
{
|
{
|
||||||
package->setDefaultPackageRoot(PLASMA_RELATIVE_DATA_INSTALL_DIR "/shells/");
|
package->setDefaultPackageRoot(PLASMA_RELATIVE_DATA_INSTALL_DIR "/shells/");
|
||||||
|
|
||||||
QStringList platform = KDeclarative::KDeclarative::runtimePlatform();
|
|
||||||
if (!platform.isEmpty()) {
|
|
||||||
QMutableStringListIterator it(platform);
|
|
||||||
while (it.hasNext()) {
|
|
||||||
it.next();
|
|
||||||
it.setValue("platformcontents/" + it.value());
|
|
||||||
}
|
|
||||||
|
|
||||||
platform.append("contents");
|
|
||||||
package->setContentsPrefixPaths(platform);
|
|
||||||
}
|
|
||||||
|
|
||||||
//Directories
|
//Directories
|
||||||
package->addDirectoryDefinition("applet", "applet", i18n("Applets furniture"));
|
package->addDirectoryDefinition("applet", "applet", i18n("Applets furniture"));
|
||||||
package->addDirectoryDefinition("configuration", "configuration", i18n("Applets furniture"));
|
package->addDirectoryDefinition("configuration", "configuration", i18n("Applets furniture"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user