[Commits] [SCM] claws branch, master, updated. 3.14.1-95-gd287120

wwp at claws-mail.org wwp at claws-mail.org
Wed Jan 4 09:13:28 CET 2017


The branch, master has been updated
       via  d287120c94c98d51a9844227565952fc5ada3842 (commit)
      from  8cc21bf46a60c79b984a5b93a3fea3f344718111 (commit)

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


- Log -----------------------------------------------------------------
commit d287120c94c98d51a9844227565952fc5ada3842
Author: wwp <wwp at free.fr>
Date:   Wed Jan 4 09:13:05 2017 +0100

    Rename a misnamed function, remove debug statements.

diff --git a/src/summaryview.c b/src/summaryview.c
index 513df7b..fd28235 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -1558,8 +1558,7 @@ gboolean summary_show(SummaryView *summaryview, FolderItem *item)
 				else
 					open_selected = 0;
 			}
-			debug_print("\n>> ask for NOT marking as read\n\n");
-			summary_select_node_no_mard_read(summaryview, node, open_selected);
+			summary_select_node_no_mark_read(summaryview, node, open_selected);
 		}
 
 		summary_lock(summaryview);
@@ -2228,7 +2227,7 @@ void summary_select_node(SummaryView *summaryview, GtkCMCTreeNode *node,
 
 }
 
-void summary_select_node_no_mard_read(SummaryView *summaryview, GtkCMCTreeNode *node,
+void summary_select_node_no_mark_read(SummaryView *summaryview, GtkCMCTreeNode *node,
 			 gint force_display, gboolean ignore_mark_read)
 {
 	summary_select_node_real(summaryview, node, force_display, TRUE);
@@ -2269,11 +2268,8 @@ static void summary_select_node_real(SummaryView *summaryview, GtkCMCTreeNode *n
 	if (!summaryview->folder_item)
 		return;
 	if (node) {
-		if (!ignore_mark_read) {
-			debug_print(">> marking as read\n");
+		if (!ignore_mark_read)
 			summary_cancel_mark_read_timeout(summaryview);
-		} else
-			debug_print(">> NOT marking as read\n");
 		gtkut_ctree_expand_parent_all(ctree, node);
 
 		summary_lock(summaryview);

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list