add a "screenshot" file type in packages

Change-Id: I8f6b809ae0e4e768dff48cf21336db6dd40f677e
This commit is contained in:
Marco Martin 2015-09-24 11:53:20 +02:00
parent c6804b034d
commit c149b1d382

View File

@ -104,6 +104,7 @@ void GenericPackage::initPackage(KPackage::Package *package)
mimetypes.clear();
mimetypes << "text/plain";
package->setMimeTypes("scripts", mimetypes);
package->addFileDefinition("screenshot", "screenshot.png", i18n("Screenshot"));
package->addDirectoryDefinition("translations", "locale", i18n("Translations"));
}