Do not return the whole dict, just the values!

This commit is contained in:
Marco Pesenti Gritti 2006-10-20 18:24:17 +02:00
parent 01ad8968be
commit 077bc6a4f1

View File

@ -80,10 +80,10 @@ class MeshModel(gobject.GObject):
self._check_service(service) self._check_service(service)
def get_activities(self): def get_activities(self):
return self._activities return self._activities.values()
def get_buddies(self): def get_buddies(self):
return self._buddies return self._buddies.values()
def _buddy_activity_changed_cb(self, buddy, cur_activity): def _buddy_activity_changed_cb(self, buddy, cur_activity):
if not self._buddies.has_key(buddy.get_name()): if not self._buddies.has_key(buddy.get_name()):