[anjal] BUGFIX: Moblin Bugzilla #8357 - Enable automatic mail checking.



commit 181634c84fe884c7140b2e5db56f93a553331b61
Author: Srinivasa Ragavan <sragavan gnome org>
Date:   Mon Dec 7 20:14:21 2009 +0530

    BUGFIX: Moblin Bugzilla #8357 - Enable automatic mail checking.

 src/mail-account-view.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/mail-account-view.c b/src/mail-account-view.c
index a088d68..eb2c161 100644
--- a/src/mail-account-view.c
+++ b/src/mail-account-view.c
@@ -430,6 +430,9 @@ mav_next_pressed (GtkButton *button, MailAccountView *mav)
 		if (uri != NULL && (url = camel_url_new(uri, NULL)) != NULL) {
 			camel_url_set_param(url, "check_all", "1");
 			camel_url_set_param(url, "sync_offline", "1");
+			if (!mav->original) {
+				e_account_set_bool(em_account_editor_get_modified_account(mav->edit), E_ACCOUNT_SOURCE_AUTO_CHECK, TRUE);
+			}
 
 			if (!mav->original && strcmp(url->protocol, "pop") == 0) {
 				e_account_set_bool (em_account_editor_get_modified_account(mav->edit), E_ACCOUNT_SOURCE_KEEP_ON_SERVER, TRUE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]