Hi,
When putting icons in a GResource, is it recommended to add an index.theme
too?
I had a look at a few apps, they don’t use an index, is it a good practice or can the glib reliably deal without one?
Hi,
When putting icons in a GResource, is it recommended to add an index.theme
too?
I had a look at a few apps, they don’t use an index, is it a good practice or can the glib reliably deal without one?
No, it’s not necessary.
GLib has nothing to do with icon themes: GTK is responsible for loading the images.
The index.theme
file is meant to be used to describe the icon theme structure on disk, to allow for non-standard paths; icon assets inside GResources are already following the theme structure, so they don’t need an index file.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.