fix tb
This commit is contained in:
parent
1e78707dab
commit
67f7520c56
|
@ -1291,12 +1291,12 @@ class AccountModificationWindow:
|
||||||
config['keyid'] = self.xml.get_widget('gpg_key_label').get_text().decode('utf-8')
|
config['keyid'] = self.xml.get_widget('gpg_key_label').get_text().decode('utf-8')
|
||||||
config['savegpgpass'] = self.xml.get_widget(
|
config['savegpgpass'] = self.xml.get_widget(
|
||||||
'gpg_save_password_checkbutton').get_active()
|
'gpg_save_password_checkbutton').get_active()
|
||||||
config['gpgpassword'] = self.xml.get_widget('gpg_password_entry').\
|
config['gpgpassword'] = self.xml.get_widget('gpg_password_entry'
|
||||||
get_text().decode('utf-8')
|
).get_text().decode('utf-8')
|
||||||
#if we modify the name of the account
|
#if we modify the name of the account
|
||||||
if name != self.account:
|
if name != self.account:
|
||||||
#update variables
|
#update variables
|
||||||
gajim.interface.instances[name] = gajim.interface.windows[self.account]
|
gajim.interface.instances[name] = gajim.interface.instances[self.account]
|
||||||
gajim.awaiting_events[name] = gajim.awaiting_events[self.account]
|
gajim.awaiting_events[name] = gajim.awaiting_events[self.account]
|
||||||
gajim.nicks[name] = gajim.nicks[self.account]
|
gajim.nicks[name] = gajim.nicks[self.account]
|
||||||
gajim.allow_notifications[name] = \
|
gajim.allow_notifications[name] = \
|
||||||
|
|
Loading…
Reference in New Issue