On Mon, 2005-10-10 at 19:52 +0200, Raphael Slinckx wrote:

> I've applied the fixes (at least the missing ones some were already
> fixed) to deskbar-applet CVS !

Cool.

> > Also, this is a great applet, but the startup time is a little long :/
> 
> Being worked on..

Cool.

> > Also, I get heaps of these warnings on startup:
> > 
> > (deskbar-applet:16559): GdkPixbuf-CRITICAL **: 
> > gdk_pixbuf_new_from_file_at_scale: assertion `width > 0 && height > 0' 
> > failed
> 
> I don't see those here, maybe it's related to gtk version you are
> using ?
> 
> Can you isolate where this is happening in the python code ?

I only get them when running it like this:

/usr/lib/deskbar-applet --window

Happens in two locations:

deskbar/handlers/handler.py on this line (line 78):

self._icon = gtk.gdk.pixbuf_new_from_file_at_size(join(deskbar.ART_DATA_DIR, 
iconfile), -1, deskbar.ICON_SIZE)

deskbar/handlers/programs.py on this line (line 158):

pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(join(icon_dir, icon), -1, 
deskbar.ICON_SIZE)

As far I can tell, most of the files that are giving this error are png
files, although I saw one xpm.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to