[evolution/gnome-3-16] Bug 748679 - Cannot middle-click paste text from composer
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-16] Bug 748679 - Cannot middle-click paste text from composer
- Date: Thu, 30 Apr 2015 06:56:38 +0000 (UTC)
commit bbf25d3edf631cdad5390a5395efa877ae181063
Author: Tomas Popela <tpopela redhat com>
Date: Thu Apr 30 08:53:36 2015 +0200
Bug 748679 - Cannot middle-click paste text from composer
When pasting with middle click move the caret to the right position even
if the selection is not collapsed.
e-util/e-html-editor-view.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 2e67197..874605e 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -3588,8 +3588,7 @@ html_editor_view_button_press_event (GtkWidget *widget,
if (event->button == 2) {
/* Middle click paste */
- if (collapsed)
- html_editor_view_move_selection_on_point (widget);
+ 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]