changeset 5977:2d34c02d2031

[gaim-migrate @ 6424] Mail check account preferences should now stay set. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 30 Jun 2003 01:56:00 +0000
parents 7cce6643c51e
children 041b657227c4
files src/account.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Mon Jun 30 01:13:35 2003 +0000
+++ b/src/account.c	Mon Jun 30 01:56:00 2003 +0000
@@ -313,9 +313,7 @@
 {
 	g_return_if_fail(account != NULL);
 
-	account->check_mail = value;
-
-	schedule_accounts_save();
+	gaim_account_set_bool(account, "check-mail", value);
 }
 
 void
@@ -581,7 +579,7 @@
 {
 	g_return_val_if_fail(account != NULL, FALSE);
 
-	return account->check_mail;
+	return gaim_account_get_bool(account, "check-mail", FALSE);
 }
 
 gboolean