From 862c84d3a468bee5f91ec06d9791b2e283545ac1 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 04 Dec 2006 20:59:30 +0000 Subject: Patch from ywwg to add an open-uri command --- (limited to 'webactivity.py') 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) -- cgit v0.9.1