[gtk+] Bug #608410. Set cursor position after inserting text.



commit 899d425e5020ad39b6c48f08754ae91cdccfef48
Author: Li Yuan <li yuan sun com>
Date:   Fri Jan 29 14:16:24 2010 +0800

    Bug #608410. Set cursor position after inserting text.

 modules/other/gail/gailentry.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/modules/other/gail/gailentry.c b/modules/other/gail/gailentry.c
index 5a7ba4a..d72a923 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]