From bf9a3758364a585a5b833035d67578b2d2a64027 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 10 Apr 2007 14:49:43 -0400 Subject: [PATCH] Send correct object in signal emission --- shell/model/MeshModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/model/MeshModel.py b/shell/model/MeshModel.py index 0b0acef4..d51dcbfe 100644 --- a/shell/model/MeshModel.py +++ b/shell/model/MeshModel.py @@ -190,7 +190,7 @@ class MeshModel(gobject.GObject): def _buddy_disappeared_cb(self, pservice, buddy): if not self._buddies.has_key(buddy.props.nick): return - self.emit('buddy-removed', buddy) + self.emit('buddy-removed', self._buddies[buddy.props.nick]) del self._buddies[buddy.props.nick] def _activity_appeared_cb(self, pservice, activity):