[Goodies-commits] r3845 - xfce4-fsguard-plugin/trunk/panel-plugin
nickschermer at gmail.com
Thu Jan 24 11:42:42 CET 2008
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.
More information about the Xfce4-dev