enable / disable ping_alives_enable too when (un)checking send keep alives in account modification window. Fixes #5100

This commit is contained in:
Yann Leboulanger 2009-06-25 19:28:23 +02:00
parent 80053ab180
commit 7b7bf4aaf6
1 changed files with 2 additions and 0 deletions

View File

@ -1995,6 +1995,8 @@ class AccountsWindow:
return return
self.on_checkbutton_toggled(widget, 'keep_alives_enabled', self.on_checkbutton_toggled(widget, 'keep_alives_enabled',
account=self.current_account) account=self.current_account)
gajim.config.set_per('accounts', self.current_account,
'ping_alives_enabled', widget.get_active())
def on_custom_host_port_checkbutton1_toggled(self, widget): def on_custom_host_port_checkbutton1_toggled(self, widget):
if self.option_changed('use_custom_host', widget.get_active()): if self.option_changed('use_custom_host', widget.get_active()):