Bugfix: Plasma::PackageMetadata::read: Match the behavior of KService
Review Request #102404 - Created Aug. 22, 2011 and submitted
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.
Compiles on Fedora 15.
Also delete the duplicate entries in PackageMetadata::write.
Revision 2 (+23 -3)