Gustavo,
On 11/29/2004 06:24:49 PM, Gustavo J. A. M. Carneiro wrote:
> > >>> print gnome.vfs.mime_get_icon('text/plain')
> None
I'm as surprised as you, really, but I double checked the python wrapping code for that function and it is ok, so it must be a problem with gnome-vfs :|
I also checked the code before posting here, and everything looks sane. But can you get the correct icon (or anything besides None, for that matter) using gnome-python 2.6.1?
You should try the new wrapped function gnome.ui.icon_lookup, in gnome-python 2.9.1.
Will definitely do, thanks! However, it'll be a while until mainstream distros ship 2.9.1 so that the code we write could be actually used :-)
Alex
-- Alexander Roitman http://ebner.neuroscience.umn.edu/people/alex.html Dept. of Neuroscience, Lions Research Building 2001 6th Street SE, Minneapolis, MN 55455 Tel (612) 625-7566 FAX (612) 626-9201
pgpMWgrV3qmmZ.pgp
Description: PGP signature_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
