untranslated entries in ksycoca (Re: Tagging Freeze for KDE 4.0.0)

David Faure faure at kde.org
Mon Jan 21 00:02:11 GMT 2008


On Sunday 20 January 2008, Thomas Braxton wrote:
> On Tuesday 15 January 2008, David Faure wrote:
> > On Sunday 06 January 2008, kde.braxton at gmail.com wrote:
> > KService::init() I guess (see the end of the method, where we iterate over
> > entryMap and feed m_mapProps).
> > init() is where desktop files are read, and they are serialized into
> > ksycoca in the save() method.
> 
> Here's a patch that should work. To get the translated category use 
> property("X-KDE-PluginInfo-Category-Translated"). You'll have to rebuild 
> ksycoca4 to get translated categories. OK to commit?

KService patch looks OK, although it would be a bit faster to use an iterator 
into entryMap to avoid doing three lookups (contains, [], remove).

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list