ClientsIconsPlugin. fix icon cache
This commit is contained in:
@@ -274,8 +274,8 @@ class ClientsIconsPlugin(GajimPlugin):
|
|||||||
client_name
|
client_name
|
||||||
else:
|
else:
|
||||||
pb = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 16, 16)
|
pb = gtk.gdk.pixbuf_new_from_file_at_size(icon_path, 16, 16)
|
||||||
|
self.icon_cache[icon_path] = pb
|
||||||
return gtk.image_new_from_pixbuf(pb), client_name
|
return gtk.image_new_from_pixbuf(pb), client_name
|
||||||
self.icon_cache[icon_path] = pixbuf
|
|
||||||
|
|
||||||
@log_calls('ClientsIconsPlugin')
|
@log_calls('ClientsIconsPlugin')
|
||||||
def disconnect_from_roster_tooltip_populate(self, tooltip, contacts,
|
def disconnect_from_roster_tooltip_populate(self, tooltip, contacts,
|
||||||
|
|||||||
Reference in New Issue
Block a user