diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-08-25 02:30:02 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-08-25 02:30:02 +0800 |
commit | a7aac14395dc0ceba8540be6e3d4981d459f9515 (patch) | |
tree | d6577d35aed2ffaf4ab6e457c0fd13dea0710855 /calendar/gui/e-week-view-event-item.c | |
parent | 67c9a151f7cd8a2986f97335d025b7f8bb95b6ef (diff) | |
download | gsoc2013-evolution-a7aac14395dc0ceba8540be6e3d4981d459f9515.tar gsoc2013-evolution-a7aac14395dc0ceba8540be6e3d4981d459f9515.tar.gz gsoc2013-evolution-a7aac14395dc0ceba8540be6e3d4981d459f9515.tar.bz2 gsoc2013-evolution-a7aac14395dc0ceba8540be6e3d4981d459f9515.tar.lz gsoc2013-evolution-a7aac14395dc0ceba8540be6e3d4981d459f9515.tar.xz gsoc2013-evolution-a7aac14395dc0ceba8540be6e3d4981d459f9515.tar.zst gsoc2013-evolution-a7aac14395dc0ceba8540be6e3d4981d459f9515.zip |
** Fix for bug #468440
svn path=/trunk/; revision=34100
Diffstat (limited to 'calendar/gui/e-week-view-event-item.c')
-rw-r--r-- | calendar/gui/e-week-view-event-item.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view-event-item.c b/calendar/gui/e-week-view-event-item.c index 0632862282..80625dbd3c 100644 --- a/calendar/gui/e-week-view-event-item.c +++ b/calendar/gui/e-week-view-event-item.c @@ -1575,8 +1575,14 @@ e_week_view_event_item_button_press (EWeekViewEventItem *wveitem, return TRUE; } else if (bevent->button.button == 3) { - if (!GTK_WIDGET_HAS_FOCUS (week_view)) + if (!GTK_WIDGET_HAS_FOCUS (week_view)) { gtk_widget_grab_focus (GTK_WIDGET (week_view)); + if (week_view->event_destroyed) { + week_view->event_destroyed = FALSE; + return FALSE; + } + + } e_week_view_set_selected_time_range_visible (week_view, event->start, event->end); |