Commit 680ed58d authored by Cédric Bellegarde's avatar Cédric Bellegarde

Enable enable-back-forward-navigation-gestures. Fix #106

parent aee24897
Pipeline #62684 passed with stage
in 7 minutes and 42 seconds
......@@ -518,6 +518,9 @@ class WebView(WebKit2.WebView):
settings.set_property("javascript-can-open-windows-automatically",
True)
settings.set_property("media-playback-allows-inline", True)
if WebKit2.get_minor_version() > 22:
settings.set_property(
"enable-back-forward-navigation-gestures", True)
self.connect("create", self.__on_create)
self.connect("load-changed", self._on_load_changed)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment