Icon theme update



I just committed my icon theme patch to GTK+. This basically
adds two things:

 - The icon theme facility (based on the libgnome-desktop code)
 - Support for backending stock icons off of named icons
   rather than specific files (the default icon set is switched
   over to use this.)

The docs will be found at:

 http://developer.gnome.org/doc/API/2.0/gtk/GtkIconTheme.html

once the doc rebuild runs tonight. People are encouraged to
read through the docs / header files and provide comments if
they have any.

The main remaining issue is to use the icon theme facility in
the GTK+ API where it makes sense. I filed:

 http://bugzilla.gnome.org/show_bug.cgi?id=116577

about this. To quote what I said there:

===
We should add support for named icons where it makes sense
in the GTK+ API.

This includes:

 gtk_window_set_icon_name(), gtk_window_set_default_icon_name() 
   (bug 92364)
 gtk_image_set_icon_name()
 gtk_tool_button_set_icon_name()
 gtk_drag_source_set_icon_name(), gtk_drag_set_icon_name()
 Maybe gtkcellrendererpixbuf as well?

For images and cellrendererpixbuf, there is the question
of what the appropriate way of specifying a size is.
Using a pixel size - a "icon_pixel_size" property perhaps -
is likely most applicable, but in some cases, allowing
the symbolic "icon_size" to take effect would be more
useful - for example, in the toolbar.

Windows have the problem that we might want to get *all* the
provided sizes (assuming it isn't an SVG image...) and provide
them all as a list. (See the bug report)
===

Regards,
					Owen






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]