[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-84-g4a753d049

wwp at claws-mail.org wwp at claws-mail.org
Tue Aug 31 20:37:23 UTC 2021


The branch, gtk3 has been updated
       via  4a753d0496edc9fa25f7c8ec6f3f62627572b598 (commit)
      from  dfb47978a337d993daa41556b70f81a15c166e2e (commit)

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


- Log -----------------------------------------------------------------
commit 4a753d0496edc9fa25f7c8ec6f3f62627572b598
Author: wwp <subscript at free.fr>
Date:   Tue Aug 31 22:33:19 2021 +0200

    Fix wrong logic, (old) patch by Olivier Brunel.

diff --git a/src/summaryview.c b/src/summaryview.c
index ada78d7e3..3437dbed9 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -1647,16 +1647,9 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item, gboolean avoid
 
 		summary_unlock(summaryview);
 
-		if (node) {
-			gint open_selected = -1;
-			if (!is_refresh) {
-				if (OPEN_SELECTED_ON_FOLDER_OPEN)
-					open_selected = 1;
-				else
-					open_selected = 0;
-			}
-			summary_select_node(summaryview, node, open_selected);
-		}
+		if (node)
+			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