From: Ludwig N. <lud...@gm...> - 2004-04-05 18:55:48
|
Jochen Baier wrote: > Ludwig Nussel wrote: > > >Some comments: > > > >- The hardcoded number of animation frames looks odd, maybe use mng > > instead of png? > > gtk/gdk-pixbuf animation stuff do not support mng yet (only gif). So we > need to have libmng. I do not think this i good idea for only a few images. > > so what should i do ? In this case the easiest way probably is to just name them like trayicon_frame1.png, trayicon_frame2.png etc. To load them you just increase the number until loading the image fails. At least the number of frames wouldn't be hardcoded then. cu Ludwig -- (o_ Lud...@gm... //\ PGP Key ID: FF8135CE V_/_ ICQ: 52166811 |