[Commits] [SCM] claws branch, master, updated. 3.17.0-192-gf21dc92

claws at claws-mail.org claws at claws-mail.org
Sun Dec 2 12:15:17 CET 2018


The branch, master has been updated
       via  f21dc9270747cba5f1a99051984f04d71455ae1d (commit)
      from  17267f3a517aa106f46a79357bf846ede378ade4 (commit)

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


- Log -----------------------------------------------------------------
commit f21dc9270747cba5f1a99051984f04d71455ae1d
Author: Paul <paul at claws-mail.org>
Date:   Sun Dec 2 11:15:11 2018 +0000

    fix bug 4132, '"Mark all as (un)read" dialog appears when acting on 1 message only'

diff --git a/src/summaryview.c b/src/summaryview.c
index 93d85f1..6564670 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -4199,8 +4199,9 @@ void summary_mark_as_read(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_read_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_read_confirm(TRUE))
 		return;
 
 	START_LONG_OPERATION(summaryview, FALSE);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list