Do not return the whole dict, just the values!
This commit is contained in:
parent
01ad8968be
commit
077bc6a4f1
@ -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()):
|
||||||
|
Loading…
Reference in New Issue
Block a user