# HG changeset patch # User Stu Tomlinson # Date 1134698109 0 # Node ID ee1944ebda4552bc3c8c316dc20e503477988b06 # Parent 3aaa3236386d6a072f0b3d8d216ac4e80e5c2a4f [gaim-migrate @ 14805] I'm backing out Joshua's patch that 'fixed' creating a new account without saving the password because the bug it was fixing was already fixed. Creating an account and specifying the password does actually connect the first time, which I think was the consenus for what is expected to happen. committer: Tailor Script diff -r 3aaa3236386d -r ee1944ebda45 src/gtkaccount.c --- a/src/gtkaccount.c Fri Dec 16 01:52:38 2005 +0000 +++ b/src/gtkaccount.c Fri Dec 16 01:55:09 2005 +0000 @@ -708,19 +708,6 @@ #endif } -/* This function is required to toggle the usability of the password entry - * box - it is set as a callback for the "Save Password" checkbox */ -static void -toggle_password_visibility(GtkWidget *button, gpointer pwd_entry) -{ - if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(button))) { - gtk_widget_set_sensitive(pwd_entry, TRUE); - } else { - gtk_widget_set_sensitive(pwd_entry, FALSE); - } - gtk_widget_show(pwd_entry); -} - static void add_login_options(AccountPrefsDialog *dialog, GtkWidget *parent) { @@ -831,7 +818,6 @@ dialog->password_entry = gtk_entry_new(); gtk_entry_set_visibility(GTK_ENTRY(dialog->password_entry), FALSE); gtk_entry_set_invisible_char(GTK_ENTRY(dialog->password_entry), GAIM_INVISIBLE_CHAR); - gtk_widget_set_sensitive(dialog->password_entry, FALSE); dialog->password_box = add_pref_box(dialog, vbox, _("Password:"), dialog->password_entry); @@ -844,9 +830,6 @@ gtk_check_button_new_with_label(_("Remember password")); gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(dialog->remember_pass_check), FALSE); - g_signal_connect(G_OBJECT(dialog->remember_pass_check), "toggled", - G_CALLBACK(toggle_password_visibility), - (gpointer)dialog->password_entry); gtk_box_pack_start(GTK_BOX(vbox), dialog->remember_pass_check, FALSE, FALSE, 0); gtk_widget_show(dialog->remember_pass_check);