Commit 10b5183f authored by Christian Hergert's avatar Christian Hergert

html-preview: cleanup initialization

parent a5e6f27d
......@@ -366,17 +366,16 @@ class HtmlPreviewPage(Ide.Page):
def __init__(self, document, sphinx_basedir, sphinx_builddir, *args, **kwargs):
global old_open
Ide.Page.__init__(self, *args, **kwargs)
#super().__init__(self, *args, **kwargs)
super().__init__(*args, **kwargs)
self.sphinx_basedir = sphinx_basedir
self.sphinx_builddir = sphinx_builddir
self.document = document
self.webview =, visible=True)
self.webview = WebKit2.WebView()
settings = self.webview.get_settings()
settings.enable_html5_local_storage = False
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