--- a/finch/gntaccount.c Mon Nov 07 23:28:31 2022 -0600 +++ b/finch/gntaccount.c Mon Nov 07 23:29:57 2022 -0600 @@ -58,7 +58,6 @@ GntWidget *protocols; GntWidget *remember; - GntWidget *regserver; } AccountEditDialog; /* This is necessary to close an edit-dialog when an account is deleted */ @@ -241,10 +240,7 @@ gnt_box_give_focus_to_child(GNT_BOX(accounts.window), accounts.tree); } - if (protocol && PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER, register_user) && - gnt_check_box_get_checked(GNT_CHECK_BOX(dialog->regserver))) { - purple_account_register(account); - } else if (dialog->account == NULL) { + if (dialog->account == NULL) { /* This is a new account. Set it to the current status. */ /* Xerox from gtkaccount.c :D */ const PurpleSavedStatus *saved_status; @@ -477,11 +473,6 @@ } } g_list_free_full(opts, (GDestroyNotify)purple_account_option_destroy); - - /* Show the registration checkbox only in a new account dialog, - * and when the selected protocol has the support for it. */ - gnt_widget_set_visible(dialog->regserver, account == NULL && - PURPLE_PROTOCOL_IMPLEMENTS(protocol, SERVER, register_user)); } static void @@ -628,10 +619,6 @@ gnt_box_add_widget(GNT_BOX(window), dialog->remember); gnt_box_add_widget(GNT_BOX(window), dialog->require_password); - /* Register checkbox */ - dialog->regserver = gnt_check_box_new(_("Create this account on the server")); - gnt_box_add_widget(GNT_BOX(window), dialog->regserver); - gnt_box_add_widget(GNT_BOX(window), gnt_line_new(FALSE)); /* The advanced box */