aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-12-05 02:32:25 +0800
committerMilan Crha <mcrha@redhat.com>2012-12-05 02:33:29 +0800
commitae6344a22b041577fdab9bf3866dbfe779dc1409 (patch)
treea2c0a2fe4d684cd8609f83c4619a50997a7421a6 /mail/e-mail-reader.c
parent56975aec6a4904140df94361ff9c4bbca5b1dc95 (diff)
downloadgsoc2013-evolution-ae6344a22b041577fdab9bf3866dbfe779dc1409.tar.gz
gsoc2013-evolution-ae6344a22b041577fdab9bf3866dbfe779dc1409.tar.zst
gsoc2013-evolution-ae6344a22b041577fdab9bf3866dbfe779dc1409.zip
Bug #315317 - Add option to expunge messages on folder leave
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index cc96053198..923b3d403c 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -3076,7 +3076,7 @@ mail_reader_set_folder (EMailReader *reader,
(CAMEL_IS_VEE_FOLDER (previous_folder) ||
e_shell_get_online (shell));
if (sync_folder)
- mail_sync_folder (previous_folder, NULL, NULL);
+ mail_sync_folder (previous_folder, TRUE, NULL, NULL);
/* Skip the rest if we're already viewing the folder. */
if (folder == previous_folder)
@@ -3094,7 +3094,7 @@ mail_reader_set_folder (EMailReader *reader,
/* this is to make sure any post-poned changes in Search Folders
* will be propagated on folder selection */
if (folder && CAMEL_IS_VEE_FOLDER (folder))
- mail_sync_folder (folder, NULL, NULL);
+ mail_sync_folder (folder, FALSE, NULL, NULL);
message_list_set_folder (
MESSAGE_LIST (message_list), folder, outgoing);