aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-02-11 13:11:22 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-02-11 13:11:22 +0800
commit71081677e325e7f73ccc3ccf59c7c225bda67cd0 (patch)
treef6474bb1f91912b3f154ac34ad5b4ca96350e0b6 /mail
parent91138e7def4787e676a699aedda17aeeca969d00 (diff)
downloadgsoc2013-evolution-71081677e325e7f73ccc3ccf59c7c225bda67cd0.tar
gsoc2013-evolution-71081677e325e7f73ccc3ccf59c7c225bda67cd0.tar.gz
gsoc2013-evolution-71081677e325e7f73ccc3ccf59c7c225bda67cd0.tar.bz2
gsoc2013-evolution-71081677e325e7f73ccc3ccf59c7c225bda67cd0.tar.lz
gsoc2013-evolution-71081677e325e7f73ccc3ccf59c7c225bda67cd0.tar.xz
gsoc2013-evolution-71081677e325e7f73ccc3ccf59c7c225bda67cd0.tar.zst
gsoc2013-evolution-71081677e325e7f73ccc3ccf59c7c225bda67cd0.zip
Patch from Milan Crha <mcrha@redhat.com> ** Fix for bug #515054 (Clear/set new CAMEL_MESSAGE_NOTJUNK flag)
svn path=/trunk/; revision=34989
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-view.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 65ea871e64..1c343b56d2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2008-02-11 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #515054
+
+ * em-folder-view.c: (emfv_popup_mark_junk), (emfv_popup_mark_nojunk):
+ Also clear/set new CAMEL_MESSAGE_NOTJUNK flag.
+
2008-02-10 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #411576
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index c932f0fb28..cd31926862 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -1027,7 +1027,7 @@ emfv_popup_mark_junk (EPopup *ep, EPopupItem *pitem, void *data)
int count;
count = em_folder_view_mark_selected(emfv,
- CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_JUNK|CAMEL_MESSAGE_JUNK_LEARN,
+ CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_JUNK|CAMEL_MESSAGE_NOTJUNK|CAMEL_MESSAGE_JUNK_LEARN,
CAMEL_MESSAGE_SEEN|CAMEL_MESSAGE_JUNK|CAMEL_MESSAGE_JUNK_LEARN);
emfv_select_next_message (emfv, count, TRUE);
@@ -1040,8 +1040,8 @@ emfv_popup_mark_nojunk (EPopup *ep, EPopupItem *pitem, void *data)
int count;
count = em_folder_view_mark_selected(emfv,
- CAMEL_MESSAGE_JUNK|CAMEL_MESSAGE_JUNK_LEARN,
- CAMEL_MESSAGE_JUNK_LEARN);
+ CAMEL_MESSAGE_JUNK|CAMEL_MESSAGE_NOTJUNK|CAMEL_MESSAGE_JUNK_LEARN,
+ CAMEL_MESSAGE_NOTJUNK|CAMEL_MESSAGE_JUNK_LEARN);
emfv_select_next_message (emfv, count, TRUE);
}