Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-05-24 14:39:31 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-05-24 17:59:19 (GMT)
commit0410ed28ba5abc291fb2febfca5bc3813cabb4de (patch)
tree1be2d387a42c5f21a8dc7aee4900c24f0acec979 /services
parent570a485d84680b1dcb8389e5153a546ef6e88ed9 (diff)
services/presence/presenceservice: add some missing in_signature arguments
Diffstat (limited to 'services')
-rw-r--r--services/presence/presenceservice.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/services/presence/presenceservice.py b/services/presence/presenceservice.py
index 5b6161a..84d219a 100644
--- a/services/presence/presenceservice.py
+++ b/services/presence/presenceservice.py
@@ -291,7 +291,8 @@ class PresenceService(ExportedGObject):
def PrivateInvitation(self, bus_name, connection, channel):
pass
- @dbus.service.method(_PRESENCE_INTERFACE, out_signature="ao")
+ @dbus.service.method(_PRESENCE_INTERFACE, in_signature='',
+ out_signature="ao")
def GetActivities(self):
ret = []
for act in self._activities.values():
@@ -307,7 +308,8 @@ class PresenceService(ExportedGObject):
raise NotFoundError("The activity was not found.")
return act.object_path()
- @dbus.service.method(_PRESENCE_INTERFACE, out_signature="ao")
+ @dbus.service.method(_PRESENCE_INTERFACE, in_signature='',
+ out_signature="ao")
def GetBuddies(self):
ret = []
for buddy in self._buddies.values():
@@ -361,7 +363,8 @@ class PresenceService(ExportedGObject):
"connection to %s:%s" % (handle, tp_conn_name,
tp_conn_path))
- @dbus.service.method(_PRESENCE_INTERFACE, out_signature="o")
+ @dbus.service.method(_PRESENCE_INTERFACE,
+ in_signature='', out_signature="o")
def GetOwner(self):
if not self._owner:
raise NotFoundError("The owner was not found.")
@@ -375,7 +378,8 @@ class PresenceService(ExportedGObject):
self._share_activity(actid, atype, name, properties,
(async_cb, async_err_cb))
- @dbus.service.method(_PRESENCE_INTERFACE, out_signature="so")
+ @dbus.service.method(_PRESENCE_INTERFACE,
+ in_signature='', out_signature="so")
def GetPreferredConnection(self):
conn = self._server_plugin.get_connection()
return str(conn.service_name), conn.object_path