diff options
author | Simon Schampijer <simon@schampijer.de> | 2009-07-08 13:57:00 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2009-07-08 13:57:00 (GMT) |
commit | 6b538634bd34620c97dae4c2c84d34328b741da4 (patch) | |
tree | b9f1b1fc1af3b5bf45497cfe9e2e7e4694172187 /webactivity.py | |
parent | c9c4c7dbc273688e0708a891dad0d9de30a511f9 (diff) |
Fix taking a screenshot
Diffstat (limited to 'webactivity.py')
-rw-r--r-- | webactivity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webactivity.py b/webactivity.py index b5171b5..6f2beb5 100644 --- a/webactivity.py +++ b/webactivity.py @@ -454,9 +454,9 @@ class WebActivity(activity.Activity): ''' take screenshot and add link info to the model ''' browser = self._tabbed_view.props.current_browser - uri = browser.progress_listener.location + uri = browser.progress.location cls = components.classes['@mozilla.org/intl/texttosuburi;1'] - texttosuburi = cls.getService(interfaces.nsITextToSubURI) + texttosuburi = cls.getService(components.interfaces.nsITextToSubURI) ui_uri = texttosuburi.unEscapeURIForUI(uri.originCharset, uri.spec) for link in self.model.data['shared_links']: |