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

Kevin Kofler kevin.kofler at chello.at
Thu Sep 29 21:53:48 UTC 2011


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


Ping? Can I commit this bugfix to the KDE/4.7 branch?

- Kevin Kofler


On Aug. 22, 2011, 12:49 a.m., Kevin Kofler wrote:
> 
> -----------------------------------------------------------
> 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.
> 
> 
> Description
> -------
> 
> 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
> -----
> 
>   plasma/packagemetadata.cpp 59163b2 
> 
> Diff: http://git.reviewboard.kde.org/r/102404/diff/diff
> 
> 
> Testing
> -------
> 
> Compiles on Fedora 15.
> 
> 
> Thanks,
> 
> Kevin Kofler
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110929/4ab920d5/attachment.html>


More information about the Plasma-devel mailing list