Mercurial > pidgin
changeset 12447:e683e7514160
[gaim-migrate @ 14754]
should have done this first. forgot. sorry.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 09 Dec 2005 22:11:15 +0000 |
parents | 17d22e9367a8 |
children | 4266abdccb97 |
files | src/gtkaccount.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkaccount.c Fri Dec 09 22:07:44 2005 +0000 +++ b/src/gtkaccount.c Fri Dec 09 22:11:15 2005 +0000 @@ -712,12 +712,12 @@ * box - it is set as a callback for the "Save Password" checkbox */ 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); + 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 @@ -830,7 +830,7 @@ 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); + gtk_widget_set_sensitive(dialog->password_entry, FALSE); dialog->password_box = add_pref_box(dialog, vbox, _("Password:"), dialog->password_entry); @@ -843,7 +843,7 @@ 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_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,