Get initial properties synchronously rather than async

This commit is contained in:
Dan Williams 2006-09-08 11:26:40 -04:00
parent 3e82db03c0
commit e402fe3286

View File

@ -36,7 +36,7 @@ class Buddy(gobject.GObject):
self._buddy.connect_to_signal('JoinedActivity', self._joined_activity_cb) 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('LeftActivity', self._left_activity_cb)
self._buddy.connect_to_signal('PropertyChanged', self._property_changed_cb) self._buddy.connect_to_signal('PropertyChanged', self._property_changed_cb)
self._property_changed_cb([]) self._properties = self._buddy.getProperties()
def object_path(self): def object_path(self):
return self._object_path return self._object_path