After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 86977 - Please support gnome-vfs MIME handlers
Please support gnome-vfs MIME handlers
Status: RESOLVED FIXED
Product: gnome-python
Classification: Deprecated
Component: gnome
1.99.x
Other other
: Normal enhancement
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
: 136174 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-07-01 09:44 UTC by Ross Burton
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Ross Burton 2002-07-01 09:44:35 UTC
I'd like to be able to query the MIME database to get a viewer component
from a MIME type in Python.
Comment 1 James Henstridge 2002-11-20 13:42:02 UTC
mass reassign of open pygtk and gnome-python bugs.
Comment 2 Johan (not receiving bugmail) Dahlin 2002-12-08 23:27:32 UTC
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.
Comment 3 Johan (not receiving bugmail) Dahlin 2002-12-30 23:50:07 UTC
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
Comment 4 Christian Reis (not reading bugmail) 2004-02-29 00:42:50 UTC
Ross, are there still functions that you are missing?
Comment 5 Ross Burton 2004-03-04 10:28:03 UTC
To be honest I can't remember why I wanted this, so I'll say "no" and
close it. :)
Comment 6 Christian Reis (not reading bugmail) 2004-03-04 13:20:58 UTC
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?
Comment 7 Johan (not receiving bugmail) Dahlin 2004-03-04 14:15:47 UTC
*** Bug 136174 has been marked as a duplicate of this bug. ***
Comment 8 Johan (not receiving bugmail) Dahlin 2004-03-04 14:18:04 UTC
Forget about the dup.

Dunno, haven't looked into it. Don't think so though. IIRC the mime
stuff API is not small.
Comment 9 Gustavo Carneiro 2004-03-14 21:42:50 UTC
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.