* The default package structure of a scripting data engine needs to be a
plasmoid, otherwise custom main script names won't work svn path=/trunk/KDE/kdelibs/; revision=932329
This commit is contained in:
parent
57162f188d
commit
3adfa46823
@ -224,10 +224,10 @@ PackageStructure::Ptr defaultPackageStructure(ComponentType type)
|
|||||||
{
|
{
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case AppletComponent:
|
case AppletComponent:
|
||||||
|
case DataEngineComponent:
|
||||||
return PackageStructure::Ptr(new PlasmoidPackage());
|
return PackageStructure::Ptr(new PlasmoidPackage());
|
||||||
break;
|
break;
|
||||||
case RunnerComponent:
|
case RunnerComponent:
|
||||||
case DataEngineComponent:
|
|
||||||
{
|
{
|
||||||
PackageStructure::Ptr structure(new PackageStructure());
|
PackageStructure::Ptr structure(new PackageStructure());
|
||||||
structure->addFileDefinition("mainscript", "code/main", i18n("Main Script File"));
|
structure->addFileDefinition("mainscript", "code/main", i18n("Main Script File"));
|
||||||
|
Loading…
Reference in New Issue
Block a user