[evolution/wip/webkit2] Bug 732999 - Middle-click paste doesn't move cursor
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Bug 732999 - Middle-click paste doesn't move cursor
- Date: Wed, 22 Apr 2015 12:57:56 +0000 (UTC)
commit f1f9f708d6f5257950589c33e9ee75dcc18734c1
Author: Tomas Popela <tpopela redhat com>
Date: Tue Mar 24 15:43:21 2015 +0100
Bug 732999 - Middle-click paste doesn't move cursor
Move the caret to the position where the mouse is.
e-util/e-html-editor-view.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 5a24bf5..3f00c41 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -638,6 +638,7 @@ html_editor_view_button_press_event (GtkWidget *widget,
if (event->button == 2) {
/* Middle click paste */
+ html_editor_view_move_selection_on_point (widget);
g_signal_emit (widget, signals[PASTE_PRIMARY_CLIPBOARD], 0);
event_handled = TRUE;
} else if (event->button == 3) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]