Gustavo Noronha Silva wrote:
On Wed, 2009-10-28 at 00:12 +0100, Josip wrote:
can somebody please explain how webkit handles local files (those
accessed with "file://").
It uses GIO.
$ pkg-config gio-2.0 --modversion
2.22.0
It looks like any local files is rendering just as ascii text.
So i would like to know what didReceiveResponse() actualy do and why
that not works in windows.
That's because of you missing shared-mime-info. GIO depends on that to
correctly identify the content type of the file.
Thanks for help!
I have installed libwebkit-1.0-2.dll and update-mime-database.exe(from
shared-mime-info-0.70) in directory C:\WebKitGTK-1.1.15.3\bin and put
their mime directory in C:\WebKitGTK-1.1.15.3\share
Created environment variables:
XDG_CONFIG_DIRS=C:\WebKitGTK-1.1.15.3\etc\xdg
XDG_DATA_DIRS=C:\WebKitGTK-1.1.15.3\share
Run:
update-mime-database.exe C:\WebKitGTK-1.1.15.3\share\mime
But local files still cant be opened. Did i miss something and what?
--
Josip
_______________________________________________
webkit-gtk mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk