Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/services/presence2/presenceservice.py
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-03-09 21:29:49 (GMT)
committer Dan Williams <dcbw@redhat.com>2007-03-09 21:29:49 (GMT)
commit9d837710f5e315b9f25502659ab171cba929f026 (patch)
tree454ed01868b2c35e3eb342e64774fcc22bc8e6cb /services/presence2/presenceservice.py
parentd299cd403253de4c5040b512ecd3205b199545d6 (diff)
Listen for and respond to Owner property changes
Pass the PS's owner object to each plugin. Make the server plugin listen to property changes and push those changes to the Jabber server when they occur.
Diffstat (limited to 'services/presence2/presenceservice.py')
-rw-r--r--services/presence2/presenceservice.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/presence2/presenceservice.py b/services/presence2/presenceservice.py
index 2018ec1..5faf5b4 100644
--- a/services/presence2/presenceservice.py
+++ b/services/presence2/presenceservice.py
@@ -58,7 +58,7 @@ class PresenceService(dbus.service.Object):
self._registry.LoadManagers()
# Set up the server connection
- self._server_plugin = ServerPlugin(self._registry)
+ self._server_plugin = ServerPlugin(self._registry, self._owner)
self._handles_buddies[self._server_plugin] = {}
self._server_plugin.connect('status', self._server_status_cb)
@@ -72,7 +72,7 @@ class PresenceService(dbus.service.Object):
self._server_plugin.start()
# Set up the link local connection
- self._ll_plugin = LinkLocalPlugin(self._registry)
+ self._ll_plugin = LinkLocalPlugin(self._registry, self._owner)
self._handles_buddies[self._ll_plugin] = {}
dbus.service.Object.__init__(self, self._bus_name, _PRESENCE_PATH)