Call the new invite method in ActivityService InviteCommand and keep a stub for Invite

This commit is contained in:
Tomeu Vizoso 2010-08-10 14:18:29 +02:00
parent 7136145667
commit 633214e2b6

View File

@ -67,9 +67,13 @@ class ActivityService(dbus.service.Object):
self._activity.props.active = active self._activity.props.active = active
@dbus.service.method(_ACTIVITY_INTERFACE) @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) self._activity.invite(account_path, contact_id)
@dbus.service.method(_ACTIVITY_INTERFACE)
def Invite(self, buddy_key):
raise NotImplementedError
@dbus.service.method(_ACTIVITY_INTERFACE) @dbus.service.method(_ACTIVITY_INTERFACE)
def HandleViewSource(self): def HandleViewSource(self):
self._activity.handle_view_source() self._activity.handle_view_source()