[Commits] [SCM] claws branch, master, updated. 3.9.3-189-gab2c7af

colin at claws-mail.org colin at claws-mail.org
Wed May 14 15:55:55 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  ab2c7af982009ebe331b1247654193011ea837a2 (commit)
      from  0816935a36966455f7f8a5298a0b8e2604c656af (commit)


- Log -----------------------------------------------------------------
commit ab2c7af982009ebe331b1247654193011ea837a2
Author: Colin Leroy <colin at colino.net>
Date:   Wed May 14 15:55:42 2014 +0200

    Don't go up in subject if we're selecting

diff --git a/src/compose.c b/src/compose.c
index 3e98f2b..8195e9d 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -11020,7 +11020,8 @@ static gboolean completion_set_focus_to_subject
 
 	// Up key should also move the focus to subject field, if the cursor
 	// is on the first line.
-	if (event->keyval == GDK_KEY_Up || event->keyval == GDK_KEY_KP_Up) {
+	if ((event->keyval == GDK_KEY_Up || event->keyval == GDK_KEY_KP_Up)
+	  && (event->state & (GDK_SHIFT_MASK|GDK_CONTROL_MASK)) == 0) {
 		buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(widget));
 		g_return_val_if_fail(buffer != NULL, FALSE);
 

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

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list