Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/activity/activityservice.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-02-22 00:23:58 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-02-22 00:23:58 (GMT)
commit1b5ac988d786199a2ec2732775e8acd67833458d (patch)
tree001f29c17ad9a7e874751520eb05f39e4e6da033 /sugar/activity/activityservice.py
parent0b6b6cd6acfedd3bfc326623ad0ccff21c5c4d5e (diff)
Put exec back, I forgot it was used by the camera.
Helper method to create an activity with an uri.
Diffstat (limited to 'sugar/activity/activityservice.py')
-rw-r--r--sugar/activity/activityservice.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sugar/activity/activityservice.py b/sugar/activity/activityservice.py
index c5a99e0..defeb08 100644
--- a/sugar/activity/activityservice.py
+++ b/sugar/activity/activityservice.py
@@ -60,3 +60,9 @@ class ActivityService(dbus.service.Object):
def get_shared(self):
"""Returns True if the activity is shared on the mesh."""
return self._activity.get_shared()
+
+ @dbus.service.method(_ACTIVITY_INTERFACE,
+ in_signature="sas", out_signature="b")
+ def execute(self, command, args):
+ return self._activity.execute(command, args)
+