Review Request 126226: kdetemplate_add_app_templates installs previews

Sebastian Kügler sebas at kde.org
Thu Dec 3 01:27:48 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126226/
-----------------------------------------------------------

Review request for KDE Frameworks and Marco Martin.


Repository: extra-cmake-modules


Description
-------

kapptemplate can't deal with templats without previews, so make sure we install the preview image.

Without this patch, the installed templates show up broken in kapptemplate. With it, they work as expected.

I'm assuming here that the preview has the baseName + .png, otherwise we'd have to read Icon field from the .kdevtemplate file, but that seems way too much hassle. The error message resulting from a wrong file name will show the expected filename, so it doesn't exactly hide the error.


Diffs
-----

  kde-modules/KDETemplateMacro.cmake 796c3f1 

Diff: https://git.reviewboard.kde.org/r/126226/diff/


Testing
-------

Installed templates/ from plasma-framework, this patch makes them work in kapptemplate.


Thanks,

Sebastian Kügler

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151203/c59941c6/attachment.html>


More information about the Kde-frameworks-devel mailing list