name optional arg so we understand without looking at func signature
This commit is contained in:
parent
4e1b9de560
commit
651148e560
|
@ -453,7 +453,7 @@ _('Without a connection, you can not browse available services')).get_response()
|
||||||
self.address_comboboxentry.set_model(liststore)
|
self.address_comboboxentry.set_model(liststore)
|
||||||
self.address_comboboxentry.set_text_column(0)
|
self.address_comboboxentry.set_text_column(0)
|
||||||
self.latest_addresses = gajim.config.get('latest_disco_addresses').split()
|
self.latest_addresses = gajim.config.get('latest_disco_addresses').split()
|
||||||
jid = gajim.get_hostname_from_account(self.account, True)
|
jid = gajim.get_hostname_from_account(self.account, use_srv = True)
|
||||||
if jid in self.latest_addresses:
|
if jid in self.latest_addresses:
|
||||||
self.latest_addresses.remove(jid)
|
self.latest_addresses.remove(jid)
|
||||||
self.latest_addresses.insert(0, jid)
|
self.latest_addresses.insert(0, jid)
|
||||||
|
|
Loading…
Reference in New Issue