read password from account config window using get_password, not from config

This commit is contained in:
Stefan Bethge 2006-11-09 15:42:27 +00:00
parent 20dc155f65
commit 1d8dab4b22
1 changed files with 1 additions and 2 deletions

View File

@ -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)