ClientsIconsPlugin. fix icon cache

This commit is contained in:
Denis Fomin
2012-11-12 12:23:27 +04:00
parent a118658819
commit 0e1a081189

View File

@@ -274,8 +274,8 @@ class ClientsIconsPlugin(GajimPlugin):
client_name
else:
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
self.icon_cache[icon_path] = pixbuf
@log_calls('ClientsIconsPlugin')
def disconnect_from_roster_tooltip_populate(self, tooltip, contacts,