[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.4/kdebase/runtime/plasma/tools/plasmapkg
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2010-02-23 23:10:46
Message-ID: 1266966646.722107.729.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1095292 by rdale:

* Allow Containment plasmoids to be installed


 M  +5 -1      main.cpp  


--- branches/KDE/4.4/kdebase/runtime/plasma/tools/plasmapkg/main.cpp #1095291:1095292
@@ -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