diff --git a/src/DataViews/GeoView.py b/src/DataViews/GeoView.py index 5b59d0912..1a9e74c46 100644 --- a/src/DataViews/GeoView.py +++ b/src/DataViews/GeoView.py @@ -203,7 +203,7 @@ class RendererMozilla(Renderer): set_profile_path(MOZEMBED_PATH, MOZEMBED_SUBPATH) self.__set_mozembed_proxy() self.window = gtkmozembed.MozEmbed() - self.window.set_size_request(800, 600) + #self.window.set_size_request(800, 600) self.browser = MOZIL def open(self, url): @@ -225,7 +225,7 @@ class RendererMozilla(Renderer): proxy = os.environ['http_proxy'] if proxy: host_port = None - prefs = open(MOZEMBED_PATH+MOZEMBED_SUBPATH+"/prefs.js","w+") + prefs = open(MOZEMBED_SUBPATH+"/prefs.js","w+") parts = urlparse.urlparse(proxy) if not parts[0] or parts[0] == 'http': host_port = parts[1] @@ -256,7 +256,7 @@ class RendererMozilla(Renderer): prefs.close() except: try: # trying to remove pref.js in case of proxy change. - os.remove(MOZEMBED_PATH+MOZEMBED_SUBPATH+"/prefs.js") + os.remove(MOZEMBED_SUBPATH+"/prefs.js") except: pass pass # We don't use a proxy or the http_proxy variable is not set. @@ -377,7 +377,6 @@ class HtmlView(PageView.PageView):