Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-10 12:18:29 (GMT)
committer Tomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-20 13:33:53 (GMT)
commit633214e2b6b0f4a5fea74caa8f135115da1961d1 (patch)
treec27cf9489dddcf374e388cc109c3c506572fbd61
parent713614566715b028da75c5c7f4ad6272b8eed437 (diff)
Call the new invite method in ActivityService InviteCommand and keep a stub for Invite
-rw-r--r--src/sugar/activity/activityservice.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sugar/activity/activityservice.py b/src/sugar/activity/activityservice.py
index d7a31ad..bdce898 100644
--- a/src/sugar/activity/activityservice.py
+++ b/src/sugar/activity/activityservice.py
@@ -67,10 +67,14 @@ class ActivityService(dbus.service.Object):
self._activity.props.active = active
@dbus.service.method(_ACTIVITY_INTERFACE)
- def Invite(self, account_path, contact_id):
+ def InviteContact(self, account_path, contact_id):
self._activity.invite(account_path, contact_id)
@dbus.service.method(_ACTIVITY_INTERFACE)
+ def Invite(self, buddy_key):
+ raise NotImplementedError
+
+ @dbus.service.method(_ACTIVITY_INTERFACE)
def HandleViewSource(self):
self._activity.handle_view_source()