Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Fomin <fominde@gmail.com>2010-10-21 12:06:48 +0400
committerDenis Fomin <fominde@gmail.com>2010-10-21 12:06:48 +0400
commit29002f54debe96dd55059654cbd750edca0ab86e (patch)
tree2f418949ff07e3d2f082b7261e1642f67bca3ee8 /clients_icons
parent467cd5c18f738b32bef9426969ca87c2a6c4cbeb (diff)
clients_icons. some fix
Diffstat (limited to 'clients_icons')
-rw-r--r--clients_icons/clients_icons.py3
1 files changed, 3 insertions, 0 deletions
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)