comparison src/gtkaccount.c @ 5804:1ba7dbd50d85

[gaim-migrate @ 6234] import really really ancient prefs, and import auto-login settings, and have the auto-login checkbox in the account editor work again. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 07 Jun 2003 20:33:39 +0000
parents 56042e59499a
children bd0d0e89cac3
comparison
equal deleted inserted replaced
5803:56042e59499a 5804:1ba7dbd50d85
346 gtk_toggle_button_set_active( 346 gtk_toggle_button_set_active(
347 GTK_TOGGLE_BUTTON(dialog->remember_pass_check), 347 GTK_TOGGLE_BUTTON(dialog->remember_pass_check),
348 gaim_account_get_remember_password(dialog->account)); 348 gaim_account_get_remember_password(dialog->account));
349 349
350 gtk_toggle_button_set_active( 350 gtk_toggle_button_set_active(
351 GTK_TOGGLE_BUTTON(dialog->auto_login_check), FALSE); 351 GTK_TOGGLE_BUTTON(dialog->auto_login_check),
352 gaim_account_get_auto_login(dialog->account, GAIM_GTK_UI));
352 } 353 }
353 354
354 if (dialog->prpl_info != NULL && 355 if (dialog->prpl_info != NULL &&
355 (dialog->prpl_info->options & OPT_PROTO_NO_PASSWORD)) { 356 (dialog->prpl_info->options & OPT_PROTO_NO_PASSWORD)) {
356 357
831 if (dialog->prpl_info->options & OPT_PROTO_MAIL_CHECK) 832 if (dialog->prpl_info->options & OPT_PROTO_MAIL_CHECK)
832 gaim_account_set_check_mail(dialog->account, 833 gaim_account_set_check_mail(dialog->account,
833 gtk_toggle_button_get_active( 834 gtk_toggle_button_get_active(
834 GTK_TOGGLE_BUTTON(dialog->new_mail_check))); 835 GTK_TOGGLE_BUTTON(dialog->new_mail_check)));
835 836
837 /* Auto Login */
838 gaim_account_set_auto_login(dialog->account, GAIM_GTK_UI,
839 gtk_toggle_button_get_active(
840 GTK_TOGGLE_BUTTON(dialog->auto_login_check)));
841
836 /* TODO: Do something about auto-login. */ 842 /* TODO: Do something about auto-login. */
837 843
838 /* Password */ 844 /* Password */
839 value = gtk_entry_get_text(GTK_ENTRY(dialog->password_entry)); 845 value = gtk_entry_get_text(GTK_ENTRY(dialog->password_entry));
840 846