From e402fe32864e70e2b6a428c8efd1d012854fe0ca Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 8 Sep 2006 11:26:40 -0400 Subject: [PATCH] Get initial properties synchronously rather than async --- sugar/presence/Buddy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/presence/Buddy.py b/sugar/presence/Buddy.py index 7d4f9ac0..5df4bb0d 100644 --- a/sugar/presence/Buddy.py +++ b/sugar/presence/Buddy.py @@ -36,7 +36,7 @@ class Buddy(gobject.GObject): self._buddy.connect_to_signal('JoinedActivity', self._joined_activity_cb) self._buddy.connect_to_signal('LeftActivity', self._left_activity_cb) self._buddy.connect_to_signal('PropertyChanged', self._property_changed_cb) - self._property_changed_cb([]) + self._properties = self._buddy.getProperties() def object_path(self): return self._object_path