[Commits] [SCM] claws branch, master, updated. 3.17.0-194-g7d85642

claws at claws-mail.org claws at claws-mail.org
Sun Dec 2 13:13:49 CET 2018


The branch, master has been updated
       via  7d856421906969bedfae33f12d930fb91446ac24 (commit)
      from  323cb609258771df7591fc2bbc6607930fe86a92 (commit)

Summary of changes:
 src/summaryview.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 7d856421906969bedfae33f12d930fb91446ac24
Author: Paul <paul at claws-mail.org>
Date:   Sun Dec 2 12:13:45 2018 +0000

    complete fix for bug 4132

diff --git a/src/summaryview.c b/src/summaryview.c
index 6564670..7d35dec 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -4224,8 +4224,9 @@ void summary_mark_as_unread(SummaryView *summaryview)
 	if (summary_is_locked(summaryview))
 		return;
 
-	if ((summaryview->folder_item->total_msgs == (gint)g_list_length(GTK_CMCLIST(ctree)->selection))
-		 && !summary_mark_all_unread_confirm(TRUE))
+	if ((summaryview->folder_item->total_msgs == (gint)g_list_length(GTK_CMCLIST(ctree)->selection) &&
+	     summaryview->folder_item->total_msgs > 1) &&
+	    !summary_mark_all_unread_confirm(TRUE))
 		return;
 
 	START_LONG_OPERATION(summaryview, FALSE);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list