bug 7929: HTML View fails to load on Debian unstable.

This commit is contained in:
noirauds 2014-11-22 23:04:11 +01:00
parent c864804eac
commit 951e9341cf

View File

@ -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