Set icon cache earlier

This commit is contained in:
Dan Williams 2006-09-25 14:15:42 -04:00
parent d0664dc801
commit 0e67d939a8

View File

@ -118,6 +118,8 @@ class Buddy(object):
self._services = {} self._services = {}
self._activities = {} self._activities = {}
self._icon_cache = icon_cache
self._nick_name = None self._nick_name = None
self._address = None self._address = None
if service is not None: if service is not None:
@ -137,8 +139,6 @@ class Buddy(object):
if service is not None: if service is not None:
self.add_service(service) self.add_service(service)
self._icon_cache = icon_cache
def object_path(self): def object_path(self):
return dbus.ObjectPath(self._object_path) return dbus.ObjectPath(self._object_path)