aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-10 11:15:30 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-10 11:15:30 +0800
commit35febc1be2c6192c1df055a2c35dbb8f30833eb6 (patch)
treeaecf057bf8aaa21ce6d93acd501c6ab11f12fedc
parentedf9de89e0dfdf1cedb9cc872d70450df2d145df (diff)
downloadgsoc2013-evolution-35febc1be2c6192c1df055a2c35dbb8f30833eb6.tar.gz
gsoc2013-evolution-35febc1be2c6192c1df055a2c35dbb8f30833eb6.tar.zst
gsoc2013-evolution-35febc1be2c6192c1df055a2c35dbb8f30833eb6.zip
evolution-2.9.1-im-context-reset.patch
-rw-r--r--calendar/gui/e-day-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index ed83c9d855..4ea98ba60d 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -5683,6 +5683,9 @@ e_day_view_start_editing_event (EDayView *day_view,
if (!event->canvas_item)
return;
+ /* Reset IM context. */
+ gtk_im_context_reset (E_TEXT (event->canvas_item)->im_context);
+
/* We must grab the focus before setting the initial text, since
grabbing the focus will result in a call to
e_day_view_on_editing_started(), which will reset the text to get