we can add already existing accounts

This commit is contained in:
Yann Leboulanger 2005-02-16 14:54:22 +00:00
parent 2614162944
commit 8afe171636
1 changed files with 1 additions and 3 deletions

View File

@ -1097,13 +1097,11 @@ class accountPreference_Window:
self.xml.signal_connect('on_pass_checkbutton_toggled', \
self.on_chk_toggled_and_clear, [self.xml.get_widget('entry_password')])
self.xml.signal_connect('on_checkbutton_toggled', self.on_chk_new_toggled)
self.xml.get_widget("checkbutton").set_sensitive(FALSE)
if infos:
self.modify = True
self.account = infos['accname']
self.init_account(infos)
else:
self.xml.get_widget("checkbutton").set_active(True)
self.xml.get_widget("checkbutton").set_sensitive(FALSE)
class accounts_Window:
"""Class for accounts window : lists of accounts"""