[Goodies-commits] r3845 - xfce4-fsguard-plugin/trunk/panel-plugin
Nick Schermer
nickschermer at gmail.com
Thu Jan 24 20:14:03 CET 2008
2008/1/24, Brian J. Tarricone <bjt23 at cornell.edu>:
> Nick Schermer wrote:
> > 2008/1/24, Brian J. Tarricone <bjt23 at cornell.edu>:
> >> Sure, but that doesn't work with stock icons, does it? (Otherwise,
> >> xfce_themed_icon_load() does just that as well.)
> >
> > Stock icons work too.
>
> Oh, cool. So will it always return icons in their original size without
> scaling? In that case, it should Just Work with
> xfce_themed_icon_load(). If not, it sounds like a bad idea to
> double-scale an image...
Well as the gtk api [1] says: it still returns the convenient icon
size, so you probably want to scale icons that are too big (better
scale then chopped icons ^_^).
So it looks like xfce_themed_icon_load does the right thing.
Nick
[1] http://library.gnome.org/devel/gtk/unstable/GtkIconTheme.html#id3039026
More information about the Xfce4-dev
mailing list