aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-15 22:21:49 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:49 +0800
commitaa28e1dea318b74ab76da88aab3a04467dee0dcf (patch)
tree34868066f28c575c44a766a9cec2e8fcb0dbb0cb
parentd9bc9909ad8b97678a735175890493c444fa91be (diff)
downloadgsoc2013-evolution-aa28e1dea318b74ab76da88aab3a04467dee0dcf.tar
gsoc2013-evolution-aa28e1dea318b74ab76da88aab3a04467dee0dcf.tar.gz
gsoc2013-evolution-aa28e1dea318b74ab76da88aab3a04467dee0dcf.tar.bz2
gsoc2013-evolution-aa28e1dea318b74ab76da88aab3a04467dee0dcf.tar.lz
gsoc2013-evolution-aa28e1dea318b74ab76da88aab3a04467dee0dcf.tar.xz
gsoc2013-evolution-aa28e1dea318b74ab76da88aab3a04467dee0dcf.tar.zst
gsoc2013-evolution-aa28e1dea318b74ab76da88aab3a04467dee0dcf.zip
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.
-rw-r--r--mail/e-mail-local.c5
1 files changed, 4 insertions, 1 deletions
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;