[Goodies-commits] r3845 - xfce4-fsguard-plugin/trunk/panel-plugin

Brian J. Tarricone bjt23 at cornell.edu
Thu Jan 24 12:11:45 CET 2008

On Thu, 24 Jan 2008 11:42:42 +0100 Nick Schermer wrote:

> 2008/1/24, Brian J. Tarricone <bjt23 at cornell.edu>:
> > Argh, yes, I recall that.  I don't remember what you can do for
> > stock icons; maybe look at gtk_widget_render_icon()?  I don't
> > recall if that's what I used.  Otherwise you can rescale the icon
> > returned, but that's ugly...
> You should use gtk_icon_theme_load_icon and check for the size
> afterwards (gdk_pixbuf_scale_simple or exo_gdk_pixbuf_scale_down).
> That's what the launcher does and AFAIK that works w/o problems.

Sure, but that doesn't work with stock icons, does it?  (Otherwise,
xfce_themed_icon_load() does just that as well.)


More information about the Xfce4-dev mailing list