fix wrong var name. REally detect correctly transport jid in add contact dialog.

This commit is contained in:
Yann Leboulanger 2006-10-02 22:37:17 +00:00
parent 478579cde1
commit 8eac5a6e28
1 changed files with 2 additions and 2 deletions

View File

@ -517,13 +517,13 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
i += 1
# set protocol_jid_combobox
self.protocol_combobox.set_active(0)
self.protocol_jid_combobox.set_active(0)
model = self.protocol_jid_combobox.get_model()
iter = model.get_iter_first()
i = 0
while iter:
if model[iter][0] == transport:
self.protocol_combobox.set_active(i)
self.protocol_jid_combobox.set_active(i)
break
iter = model.iter_next(iter)
i += 1