[webkit-gtk] possible solutions for local files on win32
plongstaff at rogers.com
Thu Mar 11 15:19:55 PST 2010
On Tue, 2009-11-03 at 01:20 +0100, Josip wrote:
> Hi again!
> Found some possible solutions for those who have problems with local
> files on win32 due to mime-share-info misconfiguration or missing
> dependencies etc.
> As g_file_info_get_content_type() returns just file extension (like
> ".html") and win32 use those to determine mime type can we use
> g_content_type_get_mime_type() on them like in attachment.
> It works for me, load html files (with right encoding), images etc...
> Or should we rather check for return type on runtime and use those if
> returned type is file extension (in case some really have full working
OK, I downloaded shared-mime-info and moved update-mime-database.exe and
the share/mime directory to my project. I then ran
update-mime-database. How do I ensure that webkit can find the database
and use it?
More information about the webkit-gtk