From d89fab4a41eb8ba380dfff0cd1216cf3b5ec3cfa Mon Sep 17 00:00:00 2001 From: Richard Dale Date: Tue, 23 Feb 2010 23:11:26 +0000 Subject: [PATCH] * Allow Containment plasmoids to be installed svn path=/trunk/KDE/kdebase/runtime/; revision=1095293 --- tools/plasmapkg/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/plasmapkg/main.cpp b/tools/plasmapkg/main.cpp index 1a6d02f8d..cd3484340 100644 --- a/tools/plasmapkg/main.cpp +++ b/tools/plasmapkg/main.cpp @@ -137,7 +137,10 @@ int main(int argc, char **argv) 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 @@ int main(int argc, char **argv) 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") {