Comment 4 for bug 205413

Revision history for this message
moonbeam (rcryderman) wrote :

Looks to me like gtk_icon_theme_load_icon () isn't scaling the icon for some reason.

See:
http://library.gnome.org/devel/gtk/2.12/GtkIconTheme.html#gtk-icon-theme-load-icon
and
http://library.gnome.org/devel/gtk/2.12/GtkIconTheme.html#gtk-icon-info-load-icon

My guess is that gtk_icon_theme_load_icon () is only able to find a small "search" icon and "GTK+ will avoid scaling icons that it considers sufficiently close to the requested size or for which the source image would have to be scaled up too far"

I've pushed a committed a change that uses gdk_pixbuf_scale_simple() to scale the icon if that provided by gtk_icon_theme_load_icon () isn't within 10% of the size requested. Please test.

Rev: 376