pidgin/gtkaccount.c

changeset 24578
4b0fd98a170c
parent 24432
066a123fd39c
child 24594
b2da1decae23
equal deleted inserted replaced
24577:fdb8b167200e 24578:4b0fd98a170c
560 FALSE, FALSE, 0); 560 FALSE, FALSE, 0);
561 gtk_widget_show(dialog->remember_pass_check); 561 gtk_widget_show(dialog->remember_pass_check);
562 562
563 /* Set the fields. */ 563 /* Set the fields. */
564 if (dialog->account != NULL) { 564 if (dialog->account != NULL) {
565 if (purple_account_get_password(dialog->account)) 565 if (purple_account_get_password(dialog->account) &&
566 purple_account_get_remember_password(dialog->account))
566 gtk_entry_set_text(GTK_ENTRY(dialog->password_entry), 567 gtk_entry_set_text(GTK_ENTRY(dialog->password_entry),
567 purple_account_get_password(dialog->account)); 568 purple_account_get_password(dialog->account));
568 569
569 gtk_toggle_button_set_active( 570 gtk_toggle_button_set_active(
570 GTK_TOGGLE_BUTTON(dialog->remember_pass_check), 571 GTK_TOGGLE_BUTTON(dialog->remember_pass_check),

mercurial