From 0e1a0811894bec524751f99e4331dbfc2c45a42d Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Mon, 12 Nov 2012 12:23:27 +0400 Subject: [PATCH] ClientsIconsPlugin. fix icon cache --- clients_icons/clients_icons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index dfe0e5b..1aba51f 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -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,