| 311 void |
311 void |
| 312 gaim_account_set_check_mail(GaimAccount *account, gboolean value) |
312 gaim_account_set_check_mail(GaimAccount *account, gboolean value) |
| 313 { |
313 { |
| 314 g_return_if_fail(account != NULL); |
314 g_return_if_fail(account != NULL); |
| 315 |
315 |
| 316 account->check_mail = value; |
316 gaim_account_set_bool(account, "check-mail", value); |
| 317 |
|
| 318 schedule_accounts_save(); |
|
| 319 } |
317 } |
| 320 |
318 |
| 321 void |
319 void |
| 322 gaim_account_set_auto_login(GaimAccount *account, const char *ui, |
320 gaim_account_set_auto_login(GaimAccount *account, const char *ui, |
| 323 gboolean value) |
321 gboolean value) |
| 579 gboolean |
577 gboolean |
| 580 gaim_account_get_check_mail(const GaimAccount *account) |
578 gaim_account_get_check_mail(const GaimAccount *account) |
| 581 { |
579 { |
| 582 g_return_val_if_fail(account != NULL, FALSE); |
580 g_return_val_if_fail(account != NULL, FALSE); |
| 583 |
581 |
| 584 return account->check_mail; |
582 return gaim_account_get_bool(account, "check-mail", FALSE); |
| 585 } |
583 } |
| 586 |
584 |
| 587 gboolean |
585 gboolean |
| 588 gaim_account_get_auto_login(const GaimAccount *account, const char *ui) |
586 gaim_account_get_auto_login(const GaimAccount *account, const char *ui) |
| 589 { |
587 { |