diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 9ceb7e4836..e22964c70d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2003-12-17 Harry Lu <harry.lu@sun.com> + + Fixes #51665. + + * gui/e-week-view.c: (e_week_view_focus): call + e_week_view_check_layout() so that the spans won't be NULL. + 2003-12-17 Rodrigo Moya <rodrigo@ximian.com> * gui/calendar-commands.c: removed the 'NewCalendar' verb. diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index c58c1dcb1b..79c9d0539a 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1008,6 +1008,8 @@ e_week_view_focus (GtkWidget *widget, GtkDirectionType direction) week_view = E_WEEK_VIEW (widget); + e_week_view_check_layout (week_view); + if (week_view->focused_jump_button == E_WEEK_VIEW_JUMP_BUTTON_NO_FOCUS) { last_focus_event_num = week_view->editing_event_num; last_focus_span_num = week_view->editing_span_num; |