Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bethge <stefan@lanpartei.de>2006-11-09 18:42:27 +0300
committerStefan Bethge <stefan@lanpartei.de>2006-11-09 18:42:27 +0300
commit1d8dab4b22f662c6c3b5d9fa936b0b0fd92d4475 (patch)
tree69b12a366ac8730397f39d59c18bb300332d8608
parent20dc155f65b27e4605a5adfcc63527fc298f47ae (diff)
read password from account config window using get_password, not from config
-rw-r--r--src/config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/config.py b/src/config.py
index 5150998b0..16b4a0fa9 100644
--- a/src/config.py
+++ b/src/config.py
@@ -1206,8 +1206,7 @@ class AccountModificationWindow:
self.xml.get_widget('save_password_checkbutton').set_active(
gajim.config.get_per('accounts', self.account, 'savepass'))
if gajim.config.get_per('accounts', self.account, 'savepass'):
- passstr = gajim.config.get_per('accounts',
- self.account, 'password')
+ passstr = passwords.get_password(self.account)
password_entry = self.xml.get_widget('password_entry')
password_entry.set_sensitive(True)
password_entry.set_text(passstr)