[Commits] [SCM] claws branch, master, updated. 3.13.0-16-g9665338

ticho at claws-mail.org ticho at claws-mail.org
Mon Oct 19 09:52:15 CEST 2015


The branch, master has been updated
       via  966533831c173434e600e9278be65b0d75021ca3 (commit)
      from  0a91476acc8a09a53fc7183c43dac310321ed116 (commit)

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


- Log -----------------------------------------------------------------
commit 966533831c173434e600e9278be65b0d75021ca3
Author: Andrej Kacian <andrej at kacian.sk>
Date:   Mon Oct 19 09:49:51 2015 +0200

    In folderview, Enter key opens the selected folder immediately.
    
    ...instead of expanding it to see its subfolders.
    Closes bug #3541.

diff --git a/src/folderview.c b/src/folderview.c
index ed85a12..3336d94 100644
--- a/src/folderview.c
+++ b/src/folderview.c
@@ -2005,10 +2005,6 @@ static gboolean folderview_key_pressed(GtkWidget *widget, GdkEventKey *event,
 
 	switch (event->keyval) {
 	case GDK_KEY_Right:
-#ifndef GENERIC_UMPC
-	case GDK_KEY_Return:
-	case GDK_KEY_KP_Enter:
-#endif
 		if (folderview->selected) {
 			if (!GTK_CMCTREE_ROW(folderview->selected)->expanded)
 				gtk_cmctree_expand(GTK_CMCTREE(folderview->ctree),
@@ -2026,6 +2022,12 @@ static gboolean folderview_key_pressed(GtkWidget *widget, GdkEventKey *event,
 				folderview->selected);
 		}
 		break;	
+#else
+	case GDK_KEY_Return:
+	case GDK_KEY_KP_Enter:
+		if (folderview->selected)
+			folderview_select_node(folderview, folderview->selected);
+		break;
 #endif
 	case GDK_KEY_space:
 		BREAK_ON_MODIFIER_KEY();

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list