diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-01-05 18:15:26 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-01-05 18:15:26 (GMT) |
commit | 766ae15770617580c0cba22a7118d13dc175d3cc (patch) | |
tree | de8917849c06e02fa8acf04d883da8432aa34da1 /browser.py | |
parent | 7f2baed6e4aa388feb033a2b6c9f9ea9f6aa01c2 (diff) |
Cleanup in browser.py from unused xulrunner based code
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'browser.py')
-rw-r--r-- | browser.py | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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() |