comparison src/gaimrc.c @ 5659:6b3214ab8632

[gaim-migrate @ 6073] Added gaim_account_set_check_mail(), and imported the pref. Now we just have to save it and use it again. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 08:49:23 +0000
parents 8fa4a0d756a0
children 18f7a2abc3fc
comparison
equal deleted inserted replaced
5658:060fb5fd081d 5659:6b3214ab8632
566 p = parse_line(buf, &parse_buffer); 566 p = parse_line(buf, &parse_buffer);
567 567
568 if (strcmp(p->option, "user_opts")) 568 if (strcmp(p->option, "user_opts"))
569 return account; 569 return account;
570 570
571 /* TODO: Handle OPT_ACCT_AUTO and OPT_ACCT_MAIL_CHECK */ 571 /* TODO: Handle OPT_ACCT_AUTO */
572 572
573 flags = atoi(p->value[0]); 573 flags = atoi(p->value[0]);
574
575 if (flags & OPT_ACCT_MAIL_CHECK)
576 gaim_account_set_check_mail(account, TRUE);
574 577
575 if (!(flags & OPT_ACCT_REM_PASS)) 578 if (!(flags & OPT_ACCT_REM_PASS))
576 gaim_account_set_remember_password(account, FALSE); 579 gaim_account_set_remember_password(account, FALSE);
577 580
578 gaim_account_set_protocol(account, atoi(p->value[1])); 581 gaim_account_set_protocol(account, atoi(p->value[1]));