aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-08-24 18:04:07 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-08-24 18:04:07 +0800
commitacac4616c5c0172f4c6fd39f3570fafbb2592f83 (patch)
treefb34a6b13ff7b40750aec0f12281601c0a9f78cf /calendar
parentd04abd4269a9cf02f66b01de7a66b153316eea72 (diff)
downloadgsoc2013-evolution-acac4616c5c0172f4c6fd39f3570fafbb2592f83.tar
gsoc2013-evolution-acac4616c5c0172f4c6fd39f3570fafbb2592f83.tar.gz
gsoc2013-evolution-acac4616c5c0172f4c6fd39f3570fafbb2592f83.tar.bz2
gsoc2013-evolution-acac4616c5c0172f4c6fd39f3570fafbb2592f83.tar.lz
gsoc2013-evolution-acac4616c5c0172f4c6fd39f3570fafbb2592f83.tar.xz
gsoc2013-evolution-acac4616c5c0172f4c6fd39f3570fafbb2592f83.tar.zst
gsoc2013-evolution-acac4616c5c0172f4c6fd39f3570fafbb2592f83.zip
2007-08-24 Srinivasa Ragavan Fix for bug #468411
svn path=/trunk/; revision=34092
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-week-view.c5
2 files changed, 11 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 48b85afb5e..a088cbd14c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2007-08-24 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #468411
+
+ * gui/e-week-view.c: (e_week_view_on_text_item_event): Grab focus to
+ main view, so that the even gets created.
+
2007-08-24 Johnny Jacob <jjohnny@novell.com>
** Fix for bug #466796
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 1be7358406..9f45787fe0 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -3091,8 +3091,11 @@ e_week_view_on_text_item_event (GnomeCanvasItem *item,
if (gdkevent->button.button == 3) {
EWeekViewEvent *e;
- if (E_TEXT (item)->editing)
+ if (E_TEXT (item)->editing) {
e_week_view_stop_editing_event (week_view);
+ gtk_widget_grab_focus (GTK_WIDGET (week_view));
+ return FALSE;
+ }
e = &g_array_index (week_view->events, EWeekViewEvent, event_num);