aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Lu <harry.lu@sun.com>2003-12-18 00:30:16 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-12-18 00:30:16 +0800
commit54f708974fe1b0d8bcd8d749b579856657432bd3 (patch)
treed82716184c73d7b76c0a1aaa7b760fd51d886b46
parent53a38f99abeb8b3026e3a64affd01643307eaee3 (diff)
downloadgsoc2013-evolution-54f708974fe1b0d8bcd8d749b579856657432bd3.tar
gsoc2013-evolution-54f708974fe1b0d8bcd8d749b579856657432bd3.tar.gz
gsoc2013-evolution-54f708974fe1b0d8bcd8d749b579856657432bd3.tar.bz2
gsoc2013-evolution-54f708974fe1b0d8bcd8d749b579856657432bd3.tar.lz
gsoc2013-evolution-54f708974fe1b0d8bcd8d749b579856657432bd3.tar.xz
gsoc2013-evolution-54f708974fe1b0d8bcd8d749b579856657432bd3.tar.zst
gsoc2013-evolution-54f708974fe1b0d8bcd8d749b579856657432bd3.zip
Fixes #51665.
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. svn path=/trunk/; revision=23967
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-week-view.c2
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;