projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0816935
)
Don't go up in subject if we're selecting
author
Colin Leroy
<colin@colino.net>
Wed, 14 May 2014 13:55:42 +0000
(15:55 +0200)
committer
Colin Leroy
<colin@colino.net>
Wed, 14 May 2014 13:55:42 +0000
(15:55 +0200)
src/compose.c
patch
|
blob
|
history
diff --git
a/src/compose.c
b/src/compose.c
index 3e98f2b1df94a2fd27c79d8110a58b604d3dab84..8195e9df1f6f8a68ae24135e499a606aac8f0552 100644
(file)
--- 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.
// 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);
buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(widget));
g_return_val_if_fail(buffer != NULL, FALSE);