Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/presence/PresenceService.py
diff options
context:
space:
mode:
authorDan Williams <dcbw@localhost.localdomain>2006-07-23 04:56:40 (GMT)
committer Dan Williams <dcbw@localhost.localdomain>2006-07-23 04:56:40 (GMT)
commitb63e78a174d1db625edfd20ff6ae3fa6a412bde9 (patch)
tree56dc8cd06a95c4a72b19f4135c6c6d2d112ba570 /sugar/presence/PresenceService.py
parent1c35f8d92ca82525c82ede9b543fe603798ee817 (diff)
Make the PresenceService stuff start to work
Diffstat (limited to 'sugar/presence/PresenceService.py')
-rw-r--r--sugar/presence/PresenceService.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sugar/presence/PresenceService.py b/sugar/presence/PresenceService.py
index ac00d1f..5626a7c 100644
--- a/sugar/presence/PresenceService.py
+++ b/sugar/presence/PresenceService.py
@@ -48,7 +48,7 @@ class PresenceService(gobject.GObject):
def __init__(self):
gobject.GObject.__init__(self)
- self._obcache = ObjectCache()
+ self._objcache = ObjectCache()
self._bus = dbus.SessionBus()
self._ps = dbus.Interface(self._bus.get_object(self._PRESENCE_SERVICE,
self._PRESENCE_OBJECT_PATH), self._PRESENCE_DBUS_INTERFACE)
@@ -174,3 +174,7 @@ class PresenceService(gobject.GObject):
return None
return self._new_object(buddy_op)
+ def registerService(self, name, stype, properties={"":""}, address="", port=-1, domain=u"local"):
+ serv_op = self._ps.registerService(name, stype, properties, address, port, domain)
+ return self._new_object(serv_op)
+