commit b934715d7b6e08724827bf5b1d3ac585e0a037b5
parent 0b28bb3a11254bd451e5434461b6c12c787019e1
Author: Colin Leroy <colin@colino.net>
Date: Sat, 15 Nov 2008 21:32:34 +0000
2008-11-15 [colin] 3.6.1cvs31
* src/compose.c
After a mid-click paste, deselect selection
and go to end of paste.
Diffstat:
4 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-15 [colin] 3.6.1cvs31
+
+ * src/compose.c
+ After a mid-click paste, deselect selection
+ and go to end of paste.
+
2008-11-15 [colin] 3.6.1cvs30
* src/compose.c
diff --git a/PATCHSETS b/PATCHSETS
@@ -3612,3 +3612,4 @@
( cvs diff -u -r 1.60.2.63 -r 1.60.2.64 src/prefs_actions.c; ) > 3.6.1cvs28.patchset
( cvs diff -u -r 1.1.2.55 -r 1.1.2.56 src/plugins/pgpcore/sgpgme.c; ) > 3.6.1cvs29.patchset
( cvs diff -u -r 1.382.2.482 -r 1.382.2.483 src/compose.c; ) > 3.6.1cvs30.patchset
+( cvs diff -u -r 1.382.2.483 -r 1.382.2.484 src/compose.c; ) > 3.6.1cvs31.patchset
diff --git a/configure.ac b/configure.ac
@@ -11,7 +11,7 @@ MINOR_VERSION=6
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=30
+EXTRA_VERSION=31
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
diff --git a/src/compose.c b/src/compose.c
@@ -9397,6 +9397,7 @@ static void entry_paste_clipboard(Compose *compose, GtkWidget *entry,
* used for mid-click-pasting */
start = gtk_text_iter_get_offset(insert_place);
gtk_text_buffer_insert(buffer, insert_place, contents, strlen(contents));
+ gtk_text_buffer_select_range(buffer, insert_place, insert_place);
}
if (!wrap) {