update package defs
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=745675
This commit is contained in:
parent
6664c9a206
commit
1adb4d7387
12
packages.cpp
12
packages.cpp
@ -32,20 +32,22 @@ PlasmoidStructure::PlasmoidStructure()
|
|||||||
mimetypes << "image/svg+xml" << "image/png" << "image/jpeg";
|
mimetypes << "image/svg+xml" << "image/png" << "image/jpeg";
|
||||||
setMimetypes("images", mimetypes);
|
setMimetypes("images", mimetypes);
|
||||||
|
|
||||||
addDirectoryDefinition("config", "config/xml", i18n("Configuration Definitions"));
|
addDirectoryDefinition("config", "config/", i18n("Configuration Definitions"));
|
||||||
addDirectoryDefinition("configui", "config/ui", i18n("Configuration UI"));
|
|
||||||
mimetypes.clear();
|
mimetypes.clear();
|
||||||
mimetypes << "text/xml";
|
mimetypes << "text/xml";
|
||||||
setMimetypes("config", mimetypes);
|
setMimetypes("config", mimetypes);
|
||||||
setMimetypes("configui", mimetypes);
|
setMimetypes("configui", mimetypes);
|
||||||
|
|
||||||
|
addDirectoryDefinition("ui", "ui", i18n("Executable Scripts"));
|
||||||
|
setMimetypes("ui", mimetypes);
|
||||||
|
|
||||||
addDirectoryDefinition("scripts", "code", i18n("Executable Scripts"));
|
addDirectoryDefinition("scripts", "code", i18n("Executable Scripts"));
|
||||||
mimetypes.clear();
|
mimetypes.clear();
|
||||||
mimetypes << "text/*";
|
mimetypes << "text/*";
|
||||||
setMimetypes("scripts", mimetypes);
|
setMimetypes("scripts", mimetypes);
|
||||||
|
|
||||||
addFileDefinition("mainconfiggui", "config/ui/main.ui", i18n("Main Config UI File"));
|
addFileDefinition("mainconfiggui", "ui/config.ui", i18n("Main Config UI File"));
|
||||||
addFileDefinition("mainconfigxml", "config/xml/main.xml", i18n("Configuration XML file"));
|
addFileDefinition("mainconfigxml", "config/main.xml", i18n("Configuration XML file"));
|
||||||
addFileDefinition("mainscript", "code/main", i18n("Main Script File"));
|
addFileDefinition("mainscript", "code/main", i18n("Main Script File"));
|
||||||
setRequired("mainscript", true);
|
setRequired("mainscript", true);
|
||||||
}
|
}
|
||||||
@ -68,6 +70,8 @@ ThemePackageStructure::ThemePackageStructure()
|
|||||||
i18n("Analog clock face"));
|
i18n("Analog clock face"));
|
||||||
addFileDefinition("widgets/iconbutton", "widgets/iconbutton.svg",
|
addFileDefinition("widgets/iconbutton", "widgets/iconbutton.svg",
|
||||||
i18n("Back- and foregrounds for clickable icons"));
|
i18n("Back- and foregrounds for clickable icons"));
|
||||||
|
addFileDefinition("widgets/panel-background", "widgets/panel-background.svg",
|
||||||
|
i18n("Default background image for panels"));
|
||||||
addFileDefinition("widgets/plot-background", "widgets/plot-background.svg",
|
addFileDefinition("widgets/plot-background", "widgets/plot-background.svg",
|
||||||
i18n("Background for graphing widgets"));
|
i18n("Background for graphing widgets"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user