Author: asterix Date: 2007-08-29 11:12:41 +0200 (Wed, 29 Aug 2007) New Revision: 8583
Modified: trunk/src/dialogs.py Log: fix widget visibility in add new contct dialog
Modified: trunk/src/dialogs.py =================================================================== --- trunk/src/dialogs.py 2007-08-29 06:08:06 UTC (rev 8582) +++ trunk/src/dialogs.py 2007-08-29 09:12:41 UTC (rev 8583) @@ -480,6 +480,7 @@ 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 @@ 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_: