GNOME Bugzilla – Bug 330944
gtk_icon_theme_list_icons: example contexts don't work
Last modified: 2006-02-13 02:33:42 UTC
Docs say: "The set of values for the context string is system dependent, but will typically include such values as 'apps' and 'mimetypes'." Trying this function with "apps" or "mimetypes" as the context argument in the default gnome icon theme gives an empty list. Passing NULL gives a full correct list. It is possible that this is a bug in the library rather than the docs.
Try "Applications" or "MimeTypes". I think the doc is just giving bad examples. To find more actually used context strings, try grep Context /usr/share/icons/*/index.theme
2006-02-12 Matthias Clasen <mclasen@redhat.com> * gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working examples in the docs. (#330944, John Spray)