From ccacbe5d128dff4dac72cd2af37e80303b377a45 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 15 Aug 2011 10:21:49 -0400 Subject: EMailLocal: Change how we set "need-summary-check". Set the CamelLocalStore:need-summary-check property directly instead of through camel_url_set_param(). This value is not stored permanently. --- mail/e-mail-local.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/e-mail-local.c b/mail/e-mail-local.c index cebbd4dadb..183635a30b 100644 --- a/mail/e-mail-local.c +++ b/mail/e-mail-local.c @@ -70,7 +70,6 @@ e_mail_local_init (EMailSession *session, url = camel_url_new ("maildir:", NULL); temp = g_build_filename (data_dir, "local", NULL); camel_url_set_path (url, temp); - camel_url_set_param (url, "need-summary-check", "no"); g_free (temp); temp = camel_url_to_string (url, 0); @@ -79,6 +78,10 @@ e_mail_local_init (EMailSession *session, CAMEL_PROVIDER_STORE, &error); g_free (temp); + /* Shouldn't need to worry about other mail applications + * altering files in our local mail store. */ + g_object_set (service, "need-summary-check", FALSE, NULL); + if (error != NULL) goto fail; -- cgit v1.2.3