aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/message-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 848bef204d..6295766f5d 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3953,7 +3953,7 @@ on_click (ETree *tree, gint row, ETreePath path, gint col, GdkEvent *event, Mess
/* Notify the folder tree model that the user has marked a message
* as unread so it doesn't mistake the event as new mail arriving. */
- if (flag == CAMEL_MESSAGE_SEEN) {
+ if (col == COL_MESSAGE_STATUS && (flags & CAMEL_MESSAGE_SEEN)) {
EMFolderTreeModel *model;
model = em_folder_tree_model_get_default ();