fix a typo and make sure not matter what we do not add dead server. TODO: (and also HOWTODO :)) rm from 0.9 config when we run 0.10
This commit is contained in:
parent
e4163ab5b9
commit
17f9fdabae
|
@ -185,8 +185,7 @@ class OptionsParser:
|
||||||
for account in gajim.config.get_per('accounts'):
|
for account in gajim.config.get_per('accounts'):
|
||||||
proxies = gajim.config.get_per('accounts', account,
|
proxies = gajim.config.get_per('accounts', account,
|
||||||
'file_transfer_proxies')
|
'file_transfer_proxies')
|
||||||
for new in ('proxy.netlab.cz', 'proxy65.jabber.ccc.de',
|
for new in ('proxy.netlab.cz', 'proxy65.jabber.ccc.de'):
|
||||||
'proxy65.unstable.nl'):
|
|
||||||
if proxies.find(new) < 0:
|
if proxies.find(new) < 0:
|
||||||
proxies += ', ' + new
|
proxies += ', ' + new
|
||||||
gajim.config.set_per('accounts', account, 'file_transfer_proxies',
|
gajim.config.set_per('accounts', account, 'file_transfer_proxies',
|
||||||
|
@ -201,5 +200,6 @@ class OptionsParser:
|
||||||
gajim.config.set('version', '0.9')
|
gajim.config.set('version', '0.9')
|
||||||
|
|
||||||
def update_config_09_to_010(self):
|
def update_config_09_to_010(self):
|
||||||
if self.old_values.has_key('usetabbedchat') and not self.old_valuse['usetabbedchat']:
|
if self.old_values.has_key('usetabbedchat') and not self.old_values['usetabbedchat']:
|
||||||
gajim.config.set('one_message_window', 'never')
|
gajim.config.set('one_message_window', 'never')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue