Review Request: Bugfix: Plasma::PackageMetadata::read: Match the behavior of KService

Kevin Kofler kevin.kofler at chello.at
Mon Aug 22 00:49:31 UTC 2011


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

(Updated Aug. 22, 2011, 12:49 a.m.)


Review request for Plasma.


Changes
-------

Also delete the duplicate entries in PackageMetadata::write.


Summary (updated)
-------

Also delete the duplicate entries in PackageMetadata::write.


This one is a bugfix, and so should be OK for 4.7.

While testing my GSoC work, I noticed that Plasma::PackageMetadata::read only looks for X-KDE-ServiceTypes, whereas KService concatenates the contents of ServiceTypes and X-KDE-ServiceTypes. There are metadata.desktop files out there using ServiceTypes without the X-KDE prefix.

I also fixed it to look for both Keywords and X-KDE-Keywords as KService does, not just Keywords.


Diffs (updated)
-----

  plasma/packagemetadata.cpp 59163b2 

Diff: http://git.reviewboard.kde.org/r/102404/diff


Testing
-------

Compiles on Fedora 15.


Thanks,

Kevin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110822/6398a0d7/attachment.html>


More information about the Plasma-devel mailing list