Only show relevant widgets in AddNewAccountWindow.

This commit is contained in:
Stephan Erb 2007-08-20 18:46:54 +00:00
parent c524ec78f1
commit 194829e805
1 changed files with 5 additions and 0 deletions

View File

@ -610,6 +610,11 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
liststore.append([acct, acct])
self.account_combobox.set_model(liststore)
self.account_combobox.set_active(0)
# FIXME: Hide stuff. Is there a way to do this in glade?
self.protocol_jid_combobox.hide()
self.register_hbox.hide()
self.connected_label.hide()
self.window.show_all()
def on_add_new_contact_window_destroy(self, widget):