[gtk+/native-layout] Bug #608410. Set cursor position after inserting text.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Bug #608410. Set cursor position after inserting text.
- Date: Sun, 4 Apr 2010 02:22:28 +0000 (UTC)
commit 5067f69ff1def38dc0f34fed57bb575300212177
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]