Mercurial > pidgin
changeset 12493:ee1944ebda45
[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 <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Fri, 16 Dec 2005 01:55:09 +0000 |
parents | 3aaa3236386d |
children | 0c8a45692e57 |
files | src/gtkaccount.c |
diffstat | 1 files changed, 0 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- 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);