little bugfix : get the variable where it really is

This commit is contained in:
Yann Leboulanger 2004-11-23 20:52:20 +00:00
parent f9df0474ff
commit 15df1ebae4

View file

@ -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):