Rodent and png icons
edscott wilson garcia
edscott at xfce.org
Sat Oct 16 04:09:38 CEST 2004
El jue, 14-10-2004 a las 22:06, Brian J. Tarricone escribió:
> edscott wilson garcia wrote:
>
> >El jue, 14-10-2004 a las 12:04, Brian J. Tarricone escribió:
> >
> >
> >>the right way to use this is to have the ability to tell XfceIconTheme that
> >>you don't want to use SVG icons. this is actually something that
> >>GtkIconTheme lets you do, but i left out for simplicity reasons. it should
> >>be pretty easy to add to the API:
> >>void xfce_icon_theme_set_use_svg(XfceIconTheme *icon_theme, gboolean use_svg);
> >>gboolean xfce_icon_theme_get_use_svg(XfceIconTheme *icon_theme);
> >>
> >>i take a look at this after work today.
> >>
> >>
> >
> >Cool. That would be great.
> > :-)
> >
> done. let me know if it's broken... or fix it yourself ^_~.
I tweaked it just a bit, so that svg icons can be used as a backup if
png icon is not available when:
xfce_icon_theme_set_use_svg(icon_theme,FALSE);
since the idea is to speed up rendering of large icon sets, not limit
the rendering ability.
I hope this is OK with you. If not, it can be reverted and I can get the
same result by installing the Rodent svg icons into a separate directory
from the png icons (although I'd rather not).
regards,
Edscott
+ gboolean
use_svguse_svg==FALSE. The idea is to allow users
> -brian
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev
>
More information about the Xfce4-dev
mailing list