Matthew Barnes 5bd7f4
--- evolution-2.9.1/calendar/gui/e-day-view.c.im-context-reset	2006-11-06 10:14:26.000000000 -0500
Matthew Barnes 5bd7f4
+++ evolution-2.9.1/calendar/gui/e-day-view.c	2006-11-06 10:15:39.000000000 -0500
Matthew Barnes 5bd7f4
@@ -6928,6 +6928,9 @@
Matthew Barnes 5bd7f4
 	if (!event->canvas_item)
Matthew Barnes 5bd7f4
 		return;
Matthew Barnes 5bd7f4
 
Matthew Barnes 5bd7f4
+	/* Reset IM context. */
Matthew Barnes 5bd7f4
+	gtk_im_context_reset (E_TEXT (event->canvas_item)->im_context);
Matthew Barnes 5bd7f4
+
Matthew Barnes 5bd7f4
 	/* We must grab the focus before setting the initial text, since
Matthew Barnes 5bd7f4
 	   grabbing the focus will result in a call to
Matthew Barnes 5bd7f4
 	   e_day_view_on_editing_started(), which will reset the text to get