From d42f46db4c3e2595ce20ed43f1d1b9fda573e954 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 2 Mar 2008 13:08:21 +0000 Subject: [PATCH] make password entry sensitive when we check save password checkbutton --- src/config.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/config.py b/src/config.py index 0078af24f..b63559fc5 100644 --- a/src/config.py +++ b/src/config.py @@ -1858,9 +1858,11 @@ class AccountsWindow: if self.ignore_events: return active = widget.get_active() + password_entry = self.xml.get_widget('password_entry1') + password_entry.set_sensitive(active) gajim.config.set_per('accounts', self.current_account, 'savepass', active) if active: - password = self.xml.get_widget('password_entry1').get_text() + password = password_entry.get_text() passwords.save_password(self.current_account, password) else: passwords.save_password(self.current_account, '')