try to prevent a TB

This commit is contained in:
Nikos Kouremenos 2005-07-24 15:42:19 +00:00
parent 713b996d2f
commit 3227d67666
1 changed files with 3 additions and 2 deletions

View File

@ -1303,8 +1303,9 @@ _('If "%s" accepts this request you will know his status.') %jid).get_response()
model = self.tree.get_model()
accountIter = self.get_account_iter(account)
if accountIter:
model.set_value(accountIter, 0, self.jabber_state_images[status])
model[accountIter][0] = self.jabber_state_images[status]
if status == 'offline':
if accountIter:
model[accountIter][6] = None
for jid in gajim.contacts[account]:
luser = gajim.contacts[account][jid]