fall back to gtkwebkit 3.0

This commit is contained in:
j 2015-12-02 14:13:17 +01:00
parent 61fb9307ef
commit 8d3cea2164

View file

@ -5,7 +5,10 @@ import subprocess
import webbrowser
import gi
gi.require_version('WebKit2', '4.0')
try:
gi.require_version('WebKit2', '4.0')
except:
gi.require_version('WebKit2', '3.0')
from gi.repository import WebKit2, Gtk, Gdk