bug 7447: HTML View fails to load on Debian unstable.
This commit is contained in:
parent
918785ad58
commit
1a68b0b537
@ -269,8 +269,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):
|
||||
@ -298,12 +297,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
|
||||
|
Loading…
Reference in New Issue
Block a user