From 29002f54debe96dd55059654cbd750edca0ab86e Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Thu, 21 Oct 2010 12:06:48 +0400 Subject: [PATCH] clients_icons. some fix --- clients_icons/clients_icons.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients_icons/clients_icons.py b/clients_icons/clients_icons.py index dbef054..06bfc99 100644 --- a/clients_icons/clients_icons.py +++ b/clients_icons/clients_icons.py @@ -164,6 +164,7 @@ class ClientsIconsPlugin(GajimPlugin): @log_calls('ClientsIconsPlugin') def activate(self): + self.active = None roster = gajim.interface.roster col = gtk.TreeViewColumn() roster.nb_ext_renderers += 1 @@ -187,10 +188,12 @@ class ClientsIconsPlugin(GajimPlugin): roster.tree.insert_column(col, 0) # redraw roster roster.columns += [gtk.gdk.Pixbuf] + self.active = True roster.setup_and_draw_roster() @log_calls('ClientsIconsPlugin') def deactivate(self): + self.active = None roster = gajim.interface.roster roster.nb_ext_renderers -= 1 col = roster.tree.get_column(0)