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