diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-18 04:23:42 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-18 04:23:42 +0800 |
commit | 8b135a085a76aa89777162b3c0daf30ca49fc96e (patch) | |
tree | d3904a978e7c03dd67beca8e7cb370a4a0f08c5e | |
parent | b2b835cae78b79afa8f3e09f8cf8353c4659260d (diff) | |
download | gsoc2013-evolution-8b135a085a76aa89777162b3c0daf30ca49fc96e.tar gsoc2013-evolution-8b135a085a76aa89777162b3c0daf30ca49fc96e.tar.gz gsoc2013-evolution-8b135a085a76aa89777162b3c0daf30ca49fc96e.tar.bz2 gsoc2013-evolution-8b135a085a76aa89777162b3c0daf30ca49fc96e.tar.lz gsoc2013-evolution-8b135a085a76aa89777162b3c0daf30ca49fc96e.tar.xz gsoc2013-evolution-8b135a085a76aa89777162b3c0daf30ca49fc96e.tar.zst gsoc2013-evolution-8b135a085a76aa89777162b3c0daf30ca49fc96e.zip |
Set the DELETED flag on directly on the info if the source folder doesn't
2001-10-17 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_message): Set
the DELETED flag on directly on the info if the source folder
doesn't have summary capability.
svn path=/trunk/; revision=13729
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-filter-driver.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 47c12348fc..6f19e28d2d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2001-10-17 Jeffrey Stedfast <fejj@ximian.com> + + * camel-filter-driver.c (camel_filter_driver_filter_message): Set + the DELETED flag on directly on the info if the source folder + doesn't have summary capability. + 2001-10-17 Not Zed <NotZed@Ximian.com> * camel-tcp-stream-raw.c (stream_write): As below. diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c index 8d8822b72d..5e58fc7bc8 100644 --- a/camel/camel-filter-driver.c +++ b/camel/camel-filter-driver.c @@ -935,7 +935,7 @@ camel_filter_driver_filter_message (CamelFilterDriver *driver, CamelMimeMessage /* *Now* we can set the DELETED flag... */ if (p->deleted) { - if (p->source && p->uid) + if (p->source && p->uid && camel_folder_has_summary_capability (p->source)) camel_folder_set_message_flags(p->source, p->uid, CAMEL_MESSAGE_DELETED|CAMEL_MESSAGE_SEEN, ~0); else info->flags |= CAMEL_MESSAGE_DELETED|CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_FOLDER_FLAGGED; |