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

List:       kde-commits
Subject:    KDE/kdelibs/plasma/scripting
From:       Richard Dale <Richard_Dale () tipitina ! demon ! co ! uk>
Date:       2009-02-26 11:34:17
Message-ID: 1235648057.733900.23176.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 932329 by rdale:

* The default package structure of a scripting data engine needs to be a
plasmoid, otherwise custom main script names won't work


 M  +1 -1      scriptengine.cpp  


--- trunk/KDE/kdelibs/plasma/scripting/scriptengine.cpp #932328:932329
@@ -224,10 +224,10 @@
 {
     switch (type) {
     case AppletComponent:
+    case DataEngineComponent:
         return PackageStructure::Ptr(new PlasmoidPackage());
         break;
     case RunnerComponent:
-    case DataEngineComponent:
     {
         PackageStructure::Ptr structure(new PackageStructure());
         structure->addFileDefinition("mainscript", "code/main", i18n("Main Script File"));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic