[Commits] [SCM] claws branch, master, updated. 3.17.0-120-gd9ece0c

ticho at claws-mail.org ticho at claws-mail.org
Tue Oct 16 18:16:45 CEST 2018


The branch, master has been updated
       via  d9ece0c2071862f33836294d1421fa9feb3ad9ac (commit)
      from  891319d4702d0a77dcf77f3ac5b33752bdc8e56b (commit)

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


- Log -----------------------------------------------------------------
commit d9ece0c2071862f33836294d1421fa9feb3ad9ac
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Tue Oct 16 18:16:02 2018 +0200

    In summary_key_pressed(), do not try to reopen the same message if cursor does not change.

diff --git a/src/summaryview.c b/src/summaryview.c
index 56f6062..ea46f15 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -7010,7 +7010,8 @@ static gboolean summary_key_pressed(GtkWidget *widget, GdkEventKey *event,
 					break;
 			}
 
-			if (next) {
+			if (next != NULL &&
+					next != gtk_cmctree_node_nth(ctree, GTK_CMCLIST(ctree)->focus_row)) {
 				gtk_sctree_select_with_state
 					(GTK_SCTREE(ctree), next, (event->state & ~GDK_CONTROL_MASK) );
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list