[evolution/wip/webkit2] Bug 758977 - Message marked as read after folder selected



commit 69a653ca2c3233b72cbdb0c2a9d3e2092d21577d
Author: Milan Crha <mcrha redhat com>
Date:   Wed Jan 20 22:41:57 2016 +0100

    Bug 758977 - Message marked as read after folder selected

 mail/e-mail-paned-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/mail/e-mail-paned-view.c b/mail/e-mail-paned-view.c
index 6536643..c8d1091 100644
--- a/mail/e-mail-paned-view.c
+++ b/mail/e-mail-paned-view.c
@@ -163,7 +163,8 @@ mail_paned_view_message_list_built_cb (EMailView *view,
 
                g_free (folder_uri);
 
-               if (!message_list_contains_uid (message_list, uid))
+               if (!message_list_contains_uid (message_list, uid) &&
+                   e_mail_reader_get_mark_seen_always (E_MAIL_READER (view)))
                        e_mail_reader_unset_folder_just_selected (E_MAIL_READER (view));
 
                /* Use selection fallbacks if UID is not found. */


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