Hello everybody,

I am trying to use gnome.vfs.mime_get_icon and having problems:

  $ python
  >>> import gnome.vfs
  >>> print gnome.vfs.mime_get_icon('text/plain')
  None
  >>> print gnome.vfs.mime_get_icon('text/html')
  None

Am I doing something silly?

Other gnome.vfs functions seem to be working fine:
  >>> print gnome.vfs.mime_get_description('text/plain')
  plain text document
  >>> print gnome.vfs.mime_get_description('text/html')
  HTML page

The fact that both Nautilus and GNOME's Actions->Recent Documents
display proper icons for the mime types makes me think that nothing
is wrong with the gnome libraries either.

The gnome-python I have is 2.6.1 from Debian sid.

Thanks in advance for any pointers,
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


Attachment: pgpi1gXaHjuLW.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/

Reply via email to