aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuresh Chandrasekharan <kcsuresh@src.gnome.org>2003-10-28 06:21:18 +0800
committerSuresh Chandrasekharan <kcsuresh@src.gnome.org>2003-10-28 06:21:18 +0800
commitaa7103dfa113dca7b1da05f73ed71790da2557e8 (patch)
tree9f6c4f9e1325b55296405470711c024d155ff100
parente2881f6524a982b61a5915f31b5d68aaad306e9b (diff)
downloadgsoc2013-evolution-aa7103dfa113dca7b1da05f73ed71790da2557e8.tar.gz
gsoc2013-evolution-aa7103dfa113dca7b1da05f73ed71790da2557e8.tar.zst
gsoc2013-evolution-aa7103dfa113dca7b1da05f73ed71790da2557e8.zip
Fix for "50065 chinese locales Input method hangs after a task entry and
* 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. svn path=/trunk/; revision=23093
-rw-r--r--widgets/table/e-cell-text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index a4a8aa8085..e3e5b664d5 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -885,6 +885,9 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col,
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;