[evolution-patches] GAL patch for 50065



Hi,
See the attached patch for gal, this fixes a bug happening when IM
wiithout a preedit is used as in the case of chinese miniChinput, see
the bug for more details.

http://bugzilla.ximian.com/show_bug.cgi?id=50065

Thanks,
Suresh

Index: ChangeLog
===================================================================
RCS file: /export/src/cvs/gal/ChangeLog,v
retrieving revision 1.1.1.1.2.2
diff -u -p -u -r1.1.1.1.2.2 ChangeLog
--- ChangeLog	2003/10/14 17:30:41	1.1.1.1.2.2
+++ ChangeLog	2003/10/23 20:55:51
@@ -1,3 +1,11 @@
+2003-10-23  Suresh Chandrasekharan  <suresh chandrasekharan sun com>
+	
+	* Fix for "50065 chinese locales Input method hangs after a task entry 
+	and new folder creation"
+	
+	* gal/e-table/e-cell-text.c: (ect_event) Added check to return
+	if preedit_length == 0 and E_CELL_PREEDIT flag is set.
+
 2003-10-14  Suresh Chandrasekharan  <suresh chandrasekharan sun com>
 	
 	* Support for preedit in e-text widgets.
Index: gal/e-table/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.1
diff -u -p -u -r1.1.1.1.2.1 e-cell-text.c
--- gal/e-table/e-cell-text.c	2003/10/14 17:30:43	1.1.1.1.2.1
+++ gal/e-table/e-cell-text.c	2003/10/23 20:55:51
@@ -885,6 +885,9 @@ ect_event (ECellView *ecell_view, GdkEve
 
 	if (!(flags & E_CELL_EDITING))
 		return 0;
+	
+	if ( edit && !edit->preedit_length && flags & E_CELL_PREEDIT)
+		return TRUE;
 
 	if (edit && edit->view_col == view_col && edit->row == row) {
 		edit_display = TRUE;


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