diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-31 13:16:06 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2010-08-31 13:16:06 (GMT) |
commit | 8a46c0ebba70eb9fc26da6e45dadc49e63f0fd62 (patch) | |
tree | 4c2dc7b8a34650a85b85c2dfccecb1712948f059 | |
parent | 174120ddd20631210f555a3813280887ddafaf9e (diff) |
notify:: handlers take two arguments
-rw-r--r-- | src/jarabe/model/buddy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jarabe/model/buddy.py b/src/jarabe/model/buddy.py index b905e7e..ba76f8a 100644 --- a/src/jarabe/model/buddy.py +++ b/src/jarabe/model/buddy.py @@ -142,10 +142,10 @@ class OwnerBuddyModel(BaseBuddyModel): path = '/' + name.replace('.', '/') Connection(name, path, ready_handler=self.__connection_ready_cb) - def __property_changed_cb(self, pspec): + def __property_changed_cb(self, buddy, pspec): self._sync_properties() - def __current_activity_changed_cb(self, pspec): + def __current_activity_changed_cb(self, buddy, pspec): conn_watcher = connection_watcher.get_instance() for connection in conn_watcher.get_connections(): if self.props.current_activity is not None: |