From b94383e883d2b302a6e125607af691155dcd16ec Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Mon, 15 Dec 2003 19:47:56 +0000 Subject: set the list view config properly (so we don't blow away the month view 2003-12-15 JP Rosevear * gui/gnome-cal.c (setup_widgets): set the list view config properly (so we don't blow away the month view config svn path=/trunk/; revision=23944 --- calendar/ChangeLog | 5 +++++ calendar/gui/gnome-cal.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1e4305e2aa..a67f60578b 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2003-12-15 JP Rosevear + + * gui/gnome-cal.c (setup_widgets): set the list view config + properly (so we don't blow away the month view config + 2003-12-15 JP Rosevear * gui/gnome-cal.c (setup_widgets): set the calendar for the day diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index f133b057af..2075f9e790 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1028,8 +1028,7 @@ setup_widgets (GnomeCalendar *gcal) priv->views[GNOME_CAL_MONTH_VIEW] = E_CALENDAR_VIEW (priv->month_view); priv->configs[GNOME_CAL_MONTH_VIEW] = e_week_view_config_new (E_WEEK_VIEW (priv->views[GNOME_CAL_MONTH_VIEW])); priv->views[GNOME_CAL_LIST_VIEW] = E_CALENDAR_VIEW (priv->list_view); - priv->configs[GNOME_CAL_MONTH_VIEW] = e_cal_list_view_config_new (E_CAL_LIST_VIEW (priv->views[GNOME_CAL_LIST_VIEW])); - priv->configs[GNOME_CAL_LIST_VIEW] = NULL; + priv->configs[GNOME_CAL_LIST_VIEW] = e_cal_list_view_config_new (E_CAL_LIST_VIEW (priv->views[GNOME_CAL_LIST_VIEW])); for (i = 0; i < GNOME_CAL_LAST_VIEW; i++) { gtk_notebook_append_page (GTK_NOTEBOOK (priv->notebook), -- cgit