[evolution-patches] gal patch for # 56578
- From: Suresh Chandrasekharan <Suresh Chandrasekharan Eng Sun COM>
- To: evolution-patches ximian com
- Cc: sceri-evolution ximian com
- Subject: [evolution-patches] gal patch for # 56578
- Date: Wed, 07 Apr 2004 16:09:57 -0700 (PDT)
Hi All,
Attached a small gal patch for # 56578. Pl. check it.
Thanks & Regards,
Suresh
Index: ChangeLog
===================================================================
RCS file: /export/src/cvs/gal/gal/e-table/ChangeLog,v
retrieving revision 1.1.1.1.2.2.2.1
diff -u -r1.1.1.1.2.2.2.1 ChangeLog
--- ChangeLog 2003/11/07 10:35:44 1.1.1.1.2.2.2.1
+++ ChangeLog 2004/04/06 22:37:02
@@ -1,3 +1,10 @@
+2004-04-06 Suresh Chandrasekharan <suresh chandrasekharan sun com>
+
+ Fix for 56578: in preedit mode, 'Enter' causes cursor to reset to zero
+ position
+ * e-cell-text.c: (ect_event) Leave editing only if the keyval is
+ Enter and preedit_length == 0.
+
2003-10-13 Charles Zhang <charles zhang sun com>
* e-table-config.c (e_table_config_new): disable apply button
Index: e-cell-text.c
===================================================================
RCS file: /export/src/cvs/gal/gal/e-table/e-cell-text.c,v
retrieving revision 1.1.1.1.2.2
diff -u -r1.1.1.1.2.2 e-cell-text.c
--- e-cell-text.c 2003/10/29 18:26:45 1.1.1.1.2.2
+++ e-cell-text.c 2004/04/06 22:37:02
@@ -978,7 +978,7 @@
}
if (edit_display) {
GdkEventKey key = event->key;
- if (key.keyval == GDK_KP_Enter || key.keyval == GDK_Return){
+ if (edit->preedit_length && (key.keyval == GDK_KP_Enter || key.keyval == GDK_Return)) {
e_table_item_leave_edit_ (text_view->cell_view.e_table_item_view);
} else {
e_tep_event.key.time = key.time;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]