After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 330944 - gtk_icon_theme_list_icons: example contexts don't work
gtk_icon_theme_list_icons: example contexts don't work
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2006-02-13 02:06 UTC by John Spray
Modified: 2006-02-13 02:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Spray 2006-02-13 02:06:58 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.
Comment 1 Matthias Clasen 2006-02-13 02:24:16 UTC
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
Comment 2 Matthias Clasen 2006-02-13 02:33:42 UTC
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)