[evolution] Bug 732999 - Middle-click paste doesn't move cursor
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 732999 - Middle-click paste doesn't move cursor
- Date: Thu, 12 Feb 2015 12:38:52 +0000 (UTC)
commit c86407b84bf1eaec754a27c53d2dffd801c2af7a
Author: Tomas Popela <tpopela redhat com>
Date: Thu Feb 12 13:37:29 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 8fd9be6..aa03a46 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -2599,6 +2599,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]