# HG changeset patch # User Christian Hammond # Date 1054633157 0 # Node ID 05858c215226374241b698cfe6cd945b9f972175 # Parent 730bfc7c5e2dbf137d443bcef72994b98b5329c1 [gaim-migrate @ 6123] Users should be able to register accounts for protocols that support it in the dialog (currently only Jabber I believe?) committer: Tailor Script diff -r 730bfc7c5e2d -r 05858c215226 src/gtkaccount.c --- a/src/gtkaccount.c Tue Jun 03 09:34:17 2003 +0000 +++ b/src/gtkaccount.c Tue Jun 03 09:39:17 2003 +0000 @@ -915,6 +915,14 @@ else __add_account(dialog->accounts_dialog, dialog->account); + /* See if we want to register with a server now. */ + if (dialog->prpl_info->register_user != NULL && + gtk_toggle_button_get_active( + GTK_TOGGLE_BUTTON(dialog->register_check))) { + + dialog->prpl_info->register_user(dialog->account); + } + gtk_widget_destroy(dialog->window); __account_win_destroy_cb(NULL, NULL, dialog);