From 8eac5a6e280830986b029ad75e6ecbd1b4e43c6e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 2 Oct 2006 22:37:17 +0000 Subject: [PATCH] fix wrong var name. REally detect correctly transport jid in add contact dialog. --- src/dialogs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index a4be4bd2d..589c7e275 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -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