From 077bc6a4f163eec310b4b9a59a46dac669d518fe Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 20 Oct 2006 18:24:17 +0200 Subject: [PATCH] Do not return the whole dict, just the values! --- shell/model/MeshModel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/model/MeshModel.py b/shell/model/MeshModel.py index 9cb728c5..c2eb1674 100644 --- a/shell/model/MeshModel.py +++ b/shell/model/MeshModel.py @@ -80,10 +80,10 @@ class MeshModel(gobject.GObject): self._check_service(service) def get_activities(self): - return self._activities + return self._activities.values() def get_buddies(self): - return self._buddies + return self._buddies.values() def _buddy_activity_changed_cb(self, buddy, cur_activity): if not self._buddies.has_key(buddy.get_name()):