[Commits] [SCM] claws branch, master, updated. 3.10.1-78-g3fc9e21
ticho at claws-mail.org
ticho at claws-mail.org
Wed Jun 18 13:14:11 CEST 2014
The branch master of project "claws" (Claws Mail) has been updated
via 3fc9e2180103758f194e2e6a17f356623ae7c88a (commit)
from 72a6dcd1bccd6f623bd8e803f91d3e910d7e5121 (commit)
Summary of changes:
src/compose.c | 23 -----------------------
1 file changed, 23 deletions(-)
- Log -----------------------------------------------------------------
commit 3fc9e2180103758f194e2e6a17f356623ae7c88a
Author: Andrej Kacian <andrej at kacian.sk>
Date: Wed Jun 18 13:11:39 2014 +0200
Revert "Make Up key bring focus to Subject line, if the cursor is on the first line of body textview."
diff --git a/src/compose.c b/src/compose.c
index cfdda3f..8c7952b 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -11065,10 +11065,6 @@ static gboolean completion_set_focus_to_subject
GdkEventKey *event,
Compose *compose)
{
- GtkTextBuffer *buffer;
- GtkTextMark *mark;
- GtkTextIter iter;
-
cm_return_val_if_fail(compose != NULL, FALSE);
/* make backtab move to subject field */
@@ -11076,25 +11072,6 @@ static gboolean completion_set_focus_to_subject
gtk_widget_grab_focus(compose->subject_entry);
return TRUE;
}
-
- // 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)
- && (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);
-
- mark = gtk_text_buffer_get_mark(buffer, "insert");
- g_return_val_if_fail(mark != NULL, FALSE);
-
- gtk_text_buffer_get_iter_at_mark(buffer, &iter, mark);
-
- if (gtk_text_iter_get_line(&iter) == 0) {
- gtk_widget_grab_focus(compose->subject_entry);
- return TRUE;
- }
- }
-
return FALSE;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list