Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/python/webview.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-13 12:16:03 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-06-13 12:16:03 (GMT)
commitc84af0839782820ff42a8cf08c3b76d830f77757 (patch)
tree9c4c7bbd9474dc3dfa45f2b00e65e2b839e6d0ac /python/webview.py
parentfe86acf314161823a648dd480e55915dc184e057 (diff)
Implement get_doc_shell in python.
Diffstat (limited to 'python/webview.py')
-rw-r--r--python/webview.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/webview.py b/python/webview.py
index 7f2534e..1c2a80c 100644
--- a/python/webview.py
+++ b/python/webview.py
@@ -193,7 +193,8 @@ class WebView(_hulahop.WebView):
return _hulahop.WebView.get_browser(self)
def get_doc_shell(self):
- return _hulahop.WebView.get_doc_shell(self)
+ requestor = self.browser.queryInterface(interfaces.nsIInterfaceRequestor)
+ return requestor.getInterface(interfaces.nsIDocShell)
def get_web_progress(self):
return self.doc_shell.queryInterface(interfaces.nsIWebProgress)