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
committerMilan Crha <mcrha@redhat.com>2009-07-27 23:43:02 +0800
commitc9f8c3ba925139249e80a251a6758351d0bff0b5 (patch)
tree52c98197cf53c2d82baf4e42a133da33e2373d16 /calendar/gui/e-day-view.c
parent19beb5336f272d950a61b231c6418978844348a2 (diff)
downloadgsoc2013-evolution-c9f8c3ba925139249e80a251a6758351d0bff0b5.tar.gz
gsoc2013-evolution-c9f8c3ba925139249e80a251a6758351d0bff0b5.tar.zst
gsoc2013-evolution-c9f8c3ba925139249e80a251a6758351d0bff0b5.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 8cc0405381..6928a7e3ef 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1774,9 +1774,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;
}