Send correct object in signal emission

This commit is contained in:
Dan Williams 2007-04-10 14:49:43 -04:00
parent eee98e1f82
commit bf9a375836

View File

@ -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):