aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-08-15 22:21:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-08-15 23:56:26 +0800
commitccacbe5d128dff4dac72cd2af37e80303b377a45 (patch)
treee36002912cee0944baa6097f437039a23a80d7e3 /mail
parente656e749f05ed92c2d5ff73cd2da9e39f05ae1a0 (diff)
downloadgsoc2013-evolution-ccacbe5d128dff4dac72cd2af37e80303b377a45.tar
gsoc2013-evolution-ccacbe5d128dff4dac72cd2af37e80303b377a45.tar.gz
gsoc2013-evolution-ccacbe5d128dff4dac72cd2af37e80303b377a45.tar.bz2
gsoc2013-evolution-ccacbe5d128dff4dac72cd2af37e80303b377a45.tar.lz
gsoc2013-evolution-ccacbe5d128dff4dac72cd2af37e80303b377a45.tar.xz
gsoc2013-evolution-ccacbe5d128dff4dac72cd2af37e80303b377a45.tar.zst
gsoc2013-evolution-ccacbe5d128dff4dac72cd2af37e80303b377a45.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.
Diffstat (limited to 'mail')
-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;