don't fail where there is an unknown transport type
This commit is contained in:
parent
900e3a51dc
commit
ed4406472a
1 changed files with 4 additions and 1 deletions
|
@ -470,7 +470,10 @@ _('Please fill in the data of the contact you want to add in account %s') %accou
|
||||||
for type_ in self.agents:
|
for type_ in self.agents:
|
||||||
if type_ == 'jabber':
|
if type_ == 'jabber':
|
||||||
continue
|
continue
|
||||||
|
if type_ in uf_type:
|
||||||
liststore.append([uf_type[type_], type_])
|
liststore.append([uf_type[type_], type_])
|
||||||
|
else:
|
||||||
|
liststore.append([type_, type_])
|
||||||
self.protocol_combobox.set_model(liststore)
|
self.protocol_combobox.set_model(liststore)
|
||||||
self.protocol_combobox.set_active(0)
|
self.protocol_combobox.set_active(0)
|
||||||
self.protocol_jid_combobox.set_sensitive(False)
|
self.protocol_jid_combobox.set_sensitive(False)
|
||||||
|
|
Loading…
Add table
Reference in a new issue