diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-11 15:53:27 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-09-11 15:53:27 (GMT) |
commit | fdb9c57e659c8ff66479f80633e2305e3a56a686 (patch) | |
tree | 471557c94dd4c2472c2dc8e588d354c86133ae95 /sugar/activity/activityservice.py | |
parent | 6ff3486f42437e8a758d2fc6fd1f723e176a20d3 (diff) |
Handle invitations inside Activity.
Diffstat (limited to 'sugar/activity/activityservice.py')
-rw-r--r-- | sugar/activity/activityservice.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sugar/activity/activityservice.py b/sugar/activity/activityservice.py index f2b3394..b2f7e15 100644 --- a/sugar/activity/activityservice.py +++ b/sugar/activity/activityservice.py @@ -59,3 +59,8 @@ class ActivityService(dbus.service.Object): def SetActive(self, active): logging.debug('ActivityService.set_active: %s.' % active) self._activity.props.active = active + + @dbus.service.method(_ACTIVITY_INTERFACE) + def Invite(self, buddy_key): + self._activity.invite(buddy_key) + |