From 673d90e30f3d57c7506c758ab56705b1050a00a0 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 29 Aug 2007 09:12:41 +0000 Subject: [PATCH] fix widget visibility in add new contct dialog --- src/dialogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.py b/src/dialogs.py index f67bf63d5..8cb4ea39b 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -480,6 +480,7 @@ class AddNewContactWindow: return location['add_contact'] = self self.xml = gtkgui_helpers.get_glade('add_new_contact_window.glade') + self.xml.signal_autoconnect(self) self.window = self.xml.get_widget('add_new_contact_window') for w in ('account_combobox', 'account_hbox', 'account_label', 'uid_label', 'uid_entry', 'protocol_combobox', 'protocol_jid_combobox', @@ -551,7 +552,6 @@ _('Please fill in the data of the contact you want to add in account %s') %accou self.auto_authorize_checkbutton.show() liststore = gtk.ListStore(str) self.protocol_jid_combobox.set_model(liststore) - self.xml.signal_autoconnect(self) if jid: type_ = gajim.get_transport_name_from_jid(jid) if not type_: