From 766ae15770617580c0cba22a7118d13dc175d3cc Mon Sep 17 00:00:00 2001 From: Manuel QuiƱones Date: Thu, 05 Jan 2012 18:15:26 +0000 Subject: Cleanup in browser.py from unused xulrunner based code Signed-off-by: Manuel QuiƱones Acked-by: Simon Schampijer --- diff --git a/browser.py b/browser.py index 803df39..0ff0b77 100644 --- a/browser.py +++ b/browser.py @@ -357,16 +357,6 @@ class Browser(WebKit.WebView): def __init__(self): WebKit.WebView.__init__(self) - def get_url_from_nsiuri(self, uri): - """ - get a nsIURI object and return a string with the url - """ - if uri == None: - return '' - cls = components.classes['@mozilla.org/intl/texttosuburi;1'] - texttosuburi = cls.getService(interfaces.nsITextToSubURI) - return texttosuburi.unEscapeURIForUI(uri.originCharset, uri.spec) - def get_history(self): """Return the browsing history of this browser.""" back_forward_list = self.get_back_forward_list() -- cgit v0.9.1