aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-day-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-07-27 23:43:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-11 07:12:42 +0800
commit741d49c900ecc01002513060826b43dc26d4e55d (patch)
tree049009930e6e006534e6471153aa45a3198d4acb /calendar/gui/e-day-view.c
parent5e5e1de764de6b705c12275dc652b1a36ba98fdd (diff)
downloadgsoc2013-evolution-741d49c900ecc01002513060826b43dc26d4e55d.tar.gz
gsoc2013-evolution-741d49c900ecc01002513060826b43dc26d4e55d.tar.zst
gsoc2013-evolution-741d49c900ecc01002513060826b43dc26d4e55d.zip
Bug #203853 - Cut/Copy key bindings don't work in day and week views
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r--calendar/gui/e-day-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index 75f7f7a12a..879155fe85 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -2112,9 +2112,11 @@ e_day_view_remove_event_cb (EDayView *day_view,
if (day == E_DAY_VIEW_LONG_EVENT) {
g_array_remove_index (day_view->long_events, event_num);
day_view->long_events_need_layout = TRUE;
+ gtk_widget_grab_focus (GTK_WIDGET (day_view->top_canvas));
} else {
g_array_remove_index (day_view->events[day], event_num);
day_view->need_layout[day] = TRUE;
+ gtk_widget_grab_focus (GTK_WIDGET (day_view->main_canvas));
}
return TRUE;
}