[evolution] Bug #724854 - Cursor moves to incorrect message when deleting multiple messages



commit c0c420014922e0fb64d63130a9a0b82458e790dc
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 25 09:30:13 2014 +0100

    Bug #724854 - Cursor moves to incorrect message when deleting multiple messages

 mail/e-mail-reader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index f82baff..5537954 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -393,7 +393,7 @@ action_mail_delete_cb (GtkAction *action,
        /* FIXME Verify all selected messages are deletable.
         *       But handle it by disabling this action. */
 
-       if (e_mail_reader_mark_selected (reader, mask, set) == 1)
+       if (e_mail_reader_mark_selected (reader, mask, set) != 0)
                e_mail_reader_select_next_message (reader, FALSE);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]