fix identation [rm spaces too]
This commit is contained in:
parent
5fc2b70c83
commit
d592fbdf05
1 changed files with 5 additions and 5 deletions
|
@ -1437,12 +1437,12 @@ class AccountModificationWindow:
|
||||||
# check if relogin is needed
|
# check if relogin is needed
|
||||||
relogin_needed = False
|
relogin_needed = False
|
||||||
if self.options_changed_need_relogin(config,
|
if self.options_changed_need_relogin(config,
|
||||||
('resource', 'proxy', 'usessl', 'keyname',
|
('resource', 'proxy', 'usessl', 'keyname',
|
||||||
'use_custom_host', 'custom_host')):
|
'use_custom_host', 'custom_host')):
|
||||||
relogin_needed = True
|
relogin_needed = True
|
||||||
|
|
||||||
elif config['use_custom_host'] and (self.option_changed(config,
|
elif config['use_custom_host'] and (self.option_changed(config,
|
||||||
'custom_host') or self.option_changed(config, 'custom_port')):
|
'custom_host') or self.option_changed(config, 'custom_port')):
|
||||||
relogin_needed = True
|
relogin_needed = True
|
||||||
|
|
||||||
if self.option_changed(config, 'use_ft_proxies') and \
|
if self.option_changed(config, 'use_ft_proxies') and \
|
||||||
|
@ -1455,9 +1455,9 @@ class AccountModificationWindow:
|
||||||
for opt in config:
|
for opt in config:
|
||||||
gajim.config.set_per('accounts', name, opt, config[opt])
|
gajim.config.set_per('accounts', name, opt, config[opt])
|
||||||
if config['savepass']:
|
if config['savepass']:
|
||||||
passwords.save_password(name, config['password'])
|
passwords.save_password(name, config['password'])
|
||||||
else:
|
else:
|
||||||
passwords.save_password(name, None)
|
passwords.save_password(name, None)
|
||||||
# refresh accounts window
|
# refresh accounts window
|
||||||
if gajim.interface.instances.has_key('accounts'):
|
if gajim.interface.instances.has_key('accounts'):
|
||||||
gajim.interface.instances['accounts'].init_accounts()
|
gajim.interface.instances['accounts'].init_accounts()
|
||||||
|
|
Loading…
Add table
Reference in a new issue