we can add already existing accounts
This commit is contained in:
parent
2614162944
commit
8afe171636
|
@ -1097,13 +1097,11 @@ class accountPreference_Window:
|
||||||
self.xml.signal_connect('on_pass_checkbutton_toggled', \
|
self.xml.signal_connect('on_pass_checkbutton_toggled', \
|
||||||
self.on_chk_toggled_and_clear, [self.xml.get_widget('entry_password')])
|
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.signal_connect('on_checkbutton_toggled', self.on_chk_new_toggled)
|
||||||
self.xml.get_widget("checkbutton").set_sensitive(FALSE)
|
|
||||||
if infos:
|
if infos:
|
||||||
self.modify = True
|
self.modify = True
|
||||||
self.account = infos['accname']
|
self.account = infos['accname']
|
||||||
self.init_account(infos)
|
self.init_account(infos)
|
||||||
else:
|
self.xml.get_widget("checkbutton").set_sensitive(FALSE)
|
||||||
self.xml.get_widget("checkbutton").set_active(True)
|
|
||||||
|
|
||||||
class accounts_Window:
|
class accounts_Window:
|
||||||
"""Class for accounts window : lists of accounts"""
|
"""Class for accounts window : lists of accounts"""
|
||||||
|
|
Loading…
Reference in New Issue