GNOME Bugzilla – Bug 522458
Use gio from glib
Last modified: 2008-08-27 12:17:01 UTC
We should drop gnome-vfs as a dependency asap. (Conditional on gio support in libgsf.)
GSF has GIO support: http://svn.gnome.org/viewvc/libgsf/trunk/gsf-gvfs/ When I wrote and tested it, GIO hadn't been merged into glib, so this may need a *bit* of tweaking to get working again.
Created attachment 107421 [details] [review] Living-life-in-the-fast-lane I know what you're thinking. Did he patch six places or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum, the most powerful patch in the world, and would blow your head clean off, you've got to ask yourself one question: Do I feel lucky? Well, do ya, punk?
Created attachment 115781 [details] [review] very preliminary patch. g_content_type_guess can return only ".txt" or "*" on win32, so we still need our win32 specific code.
AbiWord has a copy of go-file.c with a lot of modifications, including some decent support for GIO. We should look into merging these changes upstream into libgoffice and libgsf. http://www.abisource.com/viewvc/abiword/trunk/src/af/util/xp/ut_go_file.cpp?view=markup
Created attachment 115957 [details] [review] full patch Dom, did not see your last comment before (seems I was not cced for this bug). I'll have a look to the abi version.
When this one is fixed, we are left with to other uses of the with-gnome stuff: - gnome_show_url and gnome_help_display which should be replaced with gtk_show_url when available. - the gconf code for which I propose to use GOFFICE_WITH_GCONF instead. Am I missing anything?
Commited my patch after using it for some times.