From 951e9341cfd23dd134046714eb7137c64811f1f4 Mon Sep 17 00:00:00 2001 From: noirauds Date: Sat, 22 Nov 2014 23:04:11 +0100 Subject: [PATCH] bug 7929: HTML View fails to load on Debian unstable. --- src/plugins/view/htmlrenderer.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/plugins/view/htmlrenderer.py b/src/plugins/view/htmlrenderer.py index 446d02d97..bed7a35ee 100644 --- a/src/plugins/view/htmlrenderer.py +++ b/src/plugins/view/htmlrenderer.py @@ -277,8 +277,7 @@ class RendererWebkit(Renderer): self.browser = WEBKIT self.title = None self.frame = self.window.get_main_frame() - self.frame.connect("load-done", self.page_loaded) - self.frame.connect("title-changed", self.get_title) + self.window.connect("document-load-finished", self.page_loaded) self.fct = None def page_loaded(self, *args): @@ -306,12 +305,6 @@ class RendererWebkit(Renderer): """ self.window.reload() - def get_title(self, *args): - """ - We need to get the html title page. - """ - self.title = self.frame.get_title() - def execute_script(self, url): """ We need to execute a javascript function into the browser