parent
8822c8effd
commit
c885d72b8f
|
@ -107,6 +107,7 @@ class WebEngine(WebKit2.WebView):
|
||||||
win = Gtk.Window()
|
win = Gtk.Window()
|
||||||
web = WebEngine(win)
|
web = WebEngine(win)
|
||||||
web.set_settings(self.get_settings())
|
web.set_settings(self.get_settings())
|
||||||
|
web.set_zoom_level(self.get_zoom_level())
|
||||||
web.load_request(req)
|
web.load_request(req)
|
||||||
win.set_default_size(w, h)
|
win.set_default_size(w, h)
|
||||||
win.add(web)
|
win.add(web)
|
||||||
|
|
Loading…
Reference in New Issue