when a new account is registered, we inform the user

This commit is contained in:
Yann Leboulanger 2005-06-03 21:54:17 +00:00
parent 6c7d811a3c
commit d267c9253b
1 changed files with 1 additions and 0 deletions

View File

@ -445,6 +445,7 @@ class Interface:
def handle_event_acc_ok(self, account, array):
#('ACC_OK', account, (name, config))
name = array[0]
dialogs.Information_dialog(_('The account %s has been successfully registered') % name)
gajim.config.add_per('accounts', name)
for opt in array[1]:
gajim.config.set_per('accounts', name, opt, array[1][opt])