Broken icon loading

Pino Toscano toscano.pino at tiscali.it
Tue Nov 20 23:28:53 GMT 2007


Hi,

one of the good effects of the very recent KConfig changes is that no icon 
theme can be loaded anymore.
This happens because the index.theme[1] file with the icon theme structure is 
a INI file with the directories information in groups like:

[32x32/actions]
Size=32
Context=Actions
Type=Threshold

so... loading the file with KConfig and asking eg the "32x32/actions" group 
results in a KConfigGroup carrying a name() "actions" (see 
kdeui/icons/kicontheme.cpp, KIconTheme and KIconThemeDir constructors).

[1] 
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071121/663b3a26/attachment.sig>


More information about the kde-core-devel mailing list