aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-02-07 01:44:54 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-02-07 01:44:54 +0800
commit7b38fcff8316a9efcb83e4b8e93829117399a3cd (patch)
treeb3416cb244785a00e4e9d4e97cb096f2efab2102 /mail/em-folder-view.c
parent5868c475f966ee06afa7cf17296c1f85e0434dc8 (diff)
downloadgsoc2013-evolution-7b38fcff8316a9efcb83e4b8e93829117399a3cd.tar
gsoc2013-evolution-7b38fcff8316a9efcb83e4b8e93829117399a3cd.tar.gz
gsoc2013-evolution-7b38fcff8316a9efcb83e4b8e93829117399a3cd.tar.bz2
gsoc2013-evolution-7b38fcff8316a9efcb83e4b8e93829117399a3cd.tar.lz
gsoc2013-evolution-7b38fcff8316a9efcb83e4b8e93829117399a3cd.tar.xz
gsoc2013-evolution-7b38fcff8316a9efcb83e4b8e93829117399a3cd.tar.zst
gsoc2013-evolution-7b38fcff8316a9efcb83e4b8e93829117399a3cd.zip
move to the next message after mark not junk as well
2004-02-06 Radek Doulik <rodo@ximian.com> * em-folder-view.c (emfv_popup_mark_nojunk): move to the next message after mark not junk as well * em-junk-filter.c (em_junk_sa_test_spamd): split into spamassassin and spamd tests (em_junk_sa_is_available): test spamd only if spamd usage enabled (pipe_to_sa_with_error): extended pipe_to_sa, last added parametr specifies return value if an error occured (em_junk_sa_check_junk): don't use /bin/sh -c when running spamassassin, it's not needed and we need to avoid getting 126,127 exit codes from the shell (em_junk_sa_check_junk): pass 0 rv_err to pipe_to_sa_with_error to avoid false positives in case someone removes/uninstalls SA while evolution runs svn path=/trunk/; revision=24651
Diffstat (limited to 'mail/em-folder-view.c')
-rw-r--r--mail/em-folder-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 1125f9629c..dfad679d16 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -598,6 +598,8 @@ emfv_popup_mark_nojunk (GtkWidget *w, EMFolderView *emfv)
uids = message_list_get_selected(emfv->list);
em_folder_view_mark_selected(emfv, CAMEL_MESSAGE_JUNK, 0);
+ if (uids->len == 1)
+ message_list_select(emfv->list, MESSAGE_LIST_SELECT_NEXT, 0, 0, FALSE);
mail_mark_junk(emfv->folder, uids, FALSE);
}