From 8a46c0ebba70eb9fc26da6e45dadc49e63f0fd62 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 31 Aug 2010 13:16:06 +0000 Subject: notify:: handlers take two arguments --- 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: -- cgit v0.9.1