GNOME Bugzilla – Bug 105157
Backend stock icons off icon theme standard
Last modified: 2011-02-04 16:12:26 UTC
http://www.freedesktop.org/standards/icon-theme-spec.html Implementation code in libgnomeui/gnome-icon-theme.c etc. Possibly also export a public API for icon theme handling. Perhaps the API could just extend GtkIconFactory, GtkIconSource, etc. somehow.
*** Bug 107294 has been marked as a duplicate of this bug. ***
Wed Jul 2 18:00:56 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkiconfactory.[ch]: Add gtk_icon_source_set/get_icon_name() to allow stock icons to be based off of named theme icons. * gtk/gtkiconfactory.c: Rework sources so that the source is *either* a pixbuf, or a filename, or an icon name, instead of the pixbuf/filename mix it was before. Put a workaround for get_pixbuf() so that it can return the filename pixbuf, e.g, for render_icon(). * gtk/gtkiconfactory.c: Make the default setup use themed icons, and add builtin icons to the default icon theme for all the standard pixbufs, so we don't rely on actually having an icon theme on disk. * gtk/gtkrc.c: Add support for @"icon-name" to specify a themed icon for a stock icon source.