Common gotchas upgrading from 4.0 -> 4.2

Brian J. Tarricone bjt23 at cornell.edu
Wed Nov 3 21:34:03 CET 2004


On 11/03/04 12:31, Brian J. Tarricone wrote:
> On 11/03/04 12:19, Brian J. Tarricone wrote:
> > On 11/03/04 21:32, Jasper Huijsmans wrote:
> > > Brian J. Tarricone wrote:
> > > ...
> > > >
> > > >1) include a small .svg icon with libxfcegui4 that gets installed in a 
> > > >known
> > > >location, and try to open it on XfceIconTheme's class_init().  if it fails,
> > > >we don't have SVG support.
> > > >
> > > 
> > > Very cunning. I considered validating icons, but rejected it because of 
> > > obvious performance issues. I like this. Should be 100% accurate, 
> > > shouldn't it?
> > 
> > yeah.  i just coded up a patch for it, actually.  compiling and testing
> > now...
> 
> and here's the patch.  apply in xfce4/lbixfcegui4 with -p0.  i just yanked
> xfce-unknown.svg from rodent; presumably someone will make a tiny SVG
> icon that takes up little space and loads quicker.
> 
> it's compile tested, and i killed xfdesktop remotely and started it in my
> ssh session, and it printed that SVG was enabled (i'm on my win2k box at
> work).  beyond that, i don't know.  if it correctly detects no SVG support
> and disables it, and we're still missing icons, then those are XfceIconTheme
> bugs i need to fix.

p.s. you need to run autogen.sh!

p.p.s. also, i know i usually put patches on my webserver instead of
attaching; here it is if that's more convenient:
http://spuriousinterrupt.org/projects/xfce4/files/xfceicontheme-svg-detection.diff



More information about the Xfce4-dev mailing list