diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-01-14 15:44:26 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-01-14 15:44:26 +0800 |
commit | 7df0460e0441988086f2d1575e3f3ed4da517bc0 (patch) | |
tree | 371668d73f0e322bb36b6d3b65befe586c900497 /calendar/gui/e-week-view.c | |
parent | ddcfe32c3d751c170c3e42d7dc10f3e344e186ae (diff) | |
download | gsoc2013-evolution-7df0460e0441988086f2d1575e3f3ed4da517bc0.tar.gz gsoc2013-evolution-7df0460e0441988086f2d1575e3f3ed4da517bc0.tar.zst gsoc2013-evolution-7df0460e0441988086f2d1575e3f3ed4da517bc0.zip |
Patch from Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Fix for bug #264404 (Pass down Enter if in preedit-mode)
svn path=/trunk/; revision=34808
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index c7004cbbd1..b6254750a9 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -3061,7 +3061,7 @@ e_week_view_on_text_item_event (GnomeCanvasItem *item, switch (gdkevent->type) { case GDK_KEY_PRESS: tooltip_destroy (week_view, item); - if (gdkevent && gdkevent->key.keyval == GDK_Return) { + if (!E_TEXT (item)->preedit_len && gdkevent && gdkevent->key.keyval == GDK_Return) { /* We set the keyboard focus to the EDayView, so the EText item loses it and stops the edit. */ gtk_widget_grab_focus (GTK_WIDGET (week_view)); |