[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/plasma/tools/plasmapkg
From: Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date: 2010-02-23 23:11:27
Message-ID: 1266966687.648793.1260.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1095293 by rdale:
* Allow Containment plasmoids to be installed
M +5 -1 main.cpp
--- trunk/KDE/kdebase/runtime/plasma/tools/plasmapkg/main.cpp #1095292:1095293
@@ -137,7 +137,10 @@
package.setPath(packageFile);
QString serviceType = package.metadata().serviceType();
if (!serviceType.isEmpty()) {
- if (serviceType == "Plasma/Applet" || serviceType == "Plasma/PopupApplet") {
+ if ( serviceType == "Plasma/Applet"
+ || serviceType == "Plasma/Containment"
+ || serviceType == "Plasma/PopupApplet" )
+ {
type = "plasmoid";
} else if (serviceType == "Plasma/DataEngine") {
type = "dataengine";
@@ -157,6 +160,7 @@
servicePrefix = "plasma-applet-";
pluginTypes << "Applet";
pluginTypes << "PopupApplet";
+ pluginTypes << "Containment";
} else if (type == i18nc("package type", "theme") || type == "theme") {
packageRoot = "desktoptheme/";
} else if (type == i18nc("package type", "wallpaper") || type == "wallpaper") {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic