GNOME Bugzilla – Bug 86977
Please support gnome-vfs MIME handlers
Last modified: 2004-12-22 21:47:04 UTC
I'd like to be able to query the MIME database to get a viewer component from a MIME type in Python.
mass reassign of open pygtk and gnome-python bugs.
Partial fix: 2002-12-08 Johan Dahlin <jdahlin@async.com.br> * gnome/vfsmodule.c: Added wrappers for pygvfs_get_mime_type and pygvfs_get_mime_type_for_data.
2002-12-30 Johan Dahlin <jdahlin@async.com.br> * gnome/vfsmodule.c (pygvfs_mime_get_icon, pygvfs_mime_set_icon) (pygvfs_mime_get_description, pygvfs_mime_set_description) (pygvfs_mime_can_be_executable) (pygvfs_mime_set_can_be_executable): Impl. A bit more can be done now. I will add more as i need them
Ross, are there still functions that you are missing?
To be honest I can't remember why I wanted this, so I'll say "no" and close it. :)
Johan, the original report says: > I'd like to be able to query the MIME database to get a viewer > component from a MIME type in Python. Is it possible to do this already, or are bits still missing?
*** Bug 136174 has been marked as a duplicate of this bug. ***
Forget about the dup. Dunno, haven't looked into it. Don't think so though. IIRC the mime stuff API is not small.
I think all mime functions have been wrapped (see changelog in cvs for list of new functions). Closing, but please reopen if you find any missing function.