Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()