From 8c9844d25518faa2b7b0fcc30a25ef62e42a4143 Mon Sep 17 00:00:00 2001
From: Li Yuan
Date: Fri, 29 Jan 2010 14:16:24 +0800
Subject: [PATCH] Bug #608410. Set cursor position after inserting text.
(cherry picked from commit 899d425e5020ad39b6c48f08754ae91cdccfef48)
---
modules/other/gail/gailentry.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/other/gail/gailentry.c b/modules/other/gail/gailentry.c
index 5a7ba4a3b3..d72a9235d6 100644
--- a/modules/other/gail/gailentry.c
+++ b/modules/other/gail/gailentry.c
@@ -888,6 +888,7 @@ gail_entry_insert_text (AtkEditableText *text,
return;
gtk_editable_insert_text (editable, string, length, position);
+ gtk_editable_set_position (editable, *position);
}
static void