
22 Oct
2008
22 Oct
'08
1:50 a.m.
Josselin Mouette:
Unless you want to be able to follow existing standards.
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html...
All you need for that is a category called "icons". I don't see anything there about putting different sizes of icon in different places on different platforms.
Once you're in the icons location, the path from there to the flavour of icon you want is fixed by that spec. So the way you reference it is using something like.
resource.read(module, "icon", "%s/48x48/apps/foo.png" % theme)
--
Greg