Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel 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)
commit766ae15770617580c0cba22a7118d13dc175d3cc (patch)
treede8917849c06e02fa8acf04d883da8432aa34da1
parent7f2baed6e4aa388feb033a2b6c9f9ea9f6aa01c2 (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>
-rw-r--r--browser.py10
1 files changed, 0 insertions, 10 deletions
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()