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