On Mon, Aug 24, 2009 at 8:23 PM, Serge Noiraud<Serge.Noiraud@laposte.net> wrote:
Hi,
I'm writing a webkit application which use only local files ( gramps-project ) I use python-webkit and pywebkitgtk. This is not a browser for the user.
If I understand correctly, in a near futur, my application will not work. Is there a way to avoid this kind of problem ? Can we authorize one application to use local files ?
I use in python :
self.window = webkit.WebView() settings = self.window.get_settings() settings.set_property("enable-developer-extras", True)
Can we set this property too ? and how ? Does this mean python-webkit and pywebkitgtk should take care of this ?
Yes, starting from WebKitGTK+ 1.1.13 (and when the python bindings catch up) you can do: settings.set_property("enable-universal-access-from-file-uris", True) assuming you know what you are doing :) Cheers, Xan