diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-12-04 20:59:30 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-12-04 20:59:30 (GMT) |
commit | 862c84d3a468bee5f91ec06d9791b2e283545ac1 (patch) | |
tree | 0c16724f22262d09838a37fc7a8aee2ed8bf2cce /webactivity.py | |
parent | 8316811b50321da4d9166e8fff209cd0ee31e8f7 (diff) |
Patch from ywwg to add an open-uri command
Diffstat (limited to 'webactivity.py')
-rwxr-xr-x | webactivity.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webactivity.py b/webactivity.py index 2ce1bd8..9b76bd5 100755 --- a/webactivity.py +++ b/webactivity.py @@ -95,6 +95,10 @@ class WebActivity(Activity): if url: self._service.set_published_value('URL', url) + def execute(self, command, args): + if command == "load-uri": + self._browser.load_url(args[0]) + def _title_changed_cb(self, embed, pspec): self.set_title(embed.props.title) |