Set icon cache earlier
This commit is contained in:
parent
d0664dc801
commit
0e67d939a8
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user