[Commits] [SCM] claws branch, master, updated. 3.14.1-244-gedc59d5

ticho at claws-mail.org ticho at claws-mail.org
Fri Mar 24 14:05:53 CET 2017


The branch, master has been updated
       via  edc59d5b4bcf488bbd07eb34a6ef7ec1b9cc817f (commit)
      from  76b8816837325cf3689ef6d37d3e9d45980a91c8 (commit)

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


- Log -----------------------------------------------------------------
commit edc59d5b4bcf488bbd07eb34a6ef7ec1b9cc817f
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Fri Mar 24 14:04:13 2017 +0100

    Make summary_show() open-when-selected behavior more consistent.
    
    Fall back to "on folder open" setting when deciding whether
    or not to also open the selected message.

diff --git a/src/summaryview.c b/src/summaryview.c
index 2bfb01d..47e1214 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -1464,7 +1464,8 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item)
 				summary_select_by_msgnum(summaryview, selected_msgnum,
 						OPEN_SELECTED_ON_SEARCH_RESULTS);
 			else
-				summary_select_by_msgnum(summaryview, selected_msgnum, FALSE);
+				summary_select_by_msgnum(summaryview, selected_msgnum,
+						OPEN_SELECTED_ON_FOLDER_OPEN);
 
 			summary_lock(summaryview);
 			if (!summaryview->selected) {
@@ -1483,7 +1484,8 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item)
 					summary_select_node(summaryview, node,
 							OPEN_SELECTED_ON_SEARCH_RESULTS);
 				else
-					summary_select_node(summaryview, node, FALSE);
+					summary_select_node(summaryview, node,
+							OPEN_SELECTED_ON_FOLDER_OPEN);
 
 				summary_lock(summaryview);
 			}

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list