Mercurial > pidgin.yaz
diff src/gtkaccount.c @ 5710:dbac958d8937
[gaim-migrate @ 6131]
Accounts are no longer automatically added or removed from the list when
creating or destroying them. They must now be added/removed with
gaim_accounts_add() and gaim_accounts_removed(). Also fixed a bug where
garbage would appear on the screenname.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 03 Jun 2003 11:42:13 +0000 |
parents | 2c4e7df0a688 |
children | e33778b9d395 |
line wrap: on
line diff
--- a/src/gtkaccount.c Tue Jun 03 11:24:34 2003 +0000 +++ b/src/gtkaccount.c Tue Jun 03 11:42:13 2003 +0000 @@ -855,7 +855,8 @@ tmp = g_strconcat(username, sep, (*value ? value : - gaim_account_user_split_get_default_value(split))); + gaim_account_user_split_get_default_value(split)), + NULL); g_free(username); username = tmp; @@ -948,8 +949,10 @@ __set_account(dialog->accounts_dialog->model, &iter, dialog->account); } - else + else { __add_account(dialog->accounts_dialog, dialog->account); + gaim_accounts_add(dialog->account); + } /* See if we want to register with a server now. */ if (dialog->prpl_info->register_user != NULL && @@ -1304,6 +1307,7 @@ gtk_list_store_remove(accounts_dialog->model, &iter); } + gaim_accounts_remove(account); gaim_account_destroy(account); }