GeoView : Code optmization.

svn: r11476
This commit is contained in:
Serge Noiraud 2008-12-14 23:18:24 +00:00
parent 32b1de70cf
commit 21dde898a9

View File

@ -151,13 +151,13 @@ class Renderer():
raise NotImplementedError
def go_back(self):
raise NotImplementedError
self.window.go_back();
def can_go_back(self):
return self.window.can_go_back()
def go_forward(self):
raise NotImplementedError
self.window.go_forward();
def can_go_forward(self):
return self.window.can_go_forward()
@ -187,12 +187,6 @@ class RendererWebkit(Renderer):
def refresh(self):
self.window.reload();
def go_back(self):
self.window.go_back();
def go_forward(self):
self.window.go_forward();
def execute_script(self,url):
self.window.execute_script(url);
@ -221,12 +215,6 @@ class RendererMozilla(Renderer):
def refresh(self):
self.window.reload(0);
def go_back(self):
self.window.go_back();
def go_forward(self):
self.window.go_forward();
def __set_mozembed_proxy(self):
"""
Try to see if we have some proxy environment variable.