From 15df1ebae4b0a4e9f89bd467c29086ba09137c86 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 23 Nov 2004 20:52:20 +0000
Subject: [PATCH] little bugfix : get the variable where it really is

---
 plugins/gtkgui/gtkgui.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py
index 57a08a4a91..a0d2f1e250 100644
--- a/plugins/gtkgui/gtkgui.py
+++ b/plugins/gtkgui/gtkgui.py
@@ -1947,7 +1947,7 @@ class systray:
 
 	def set_cb(self, widget, status):
 		statuss = ['online', 'away', 'xa', 'dnd', 'invisible', 'vide', 'offline']
-		self.cb.set_active(statuss.index(status))
+		self.plugin.roster.cb.set_active(statuss.index(status))
 
 	def start_chat(self, widget, account, jid):
 		if self.plugin.windows[account]['chats'].has_key(jid):
-- 
GitLab