Fix for #3650 (and whitespace cleanup)

This commit is contained in:
Travis Shirk 2007-12-30 20:43:58 +00:00
parent 282bc3346e
commit 458696948d
1 changed files with 33 additions and 32 deletions

View File

@ -1971,7 +1971,8 @@ class AccountsWindow:
'no_log_for').split()
if self.current_account in list_no_log_for:
list_no_log_for.remove(self.current_account)
if not self.xml.get_widget('log_history_checkbutton').get_active():
if not widget.get_active():
list_no_log_for.append(self.current_account)
gajim.config.set_per('accounts', self.current_account, 'no_log_for',
' '.join(list_no_log_for))