diff options
author | JP Rosevear <jpr@ximian.com> | 2003-12-16 03:47:56 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-12-16 03:47:56 +0800 |
commit | b94383e883d2b302a6e125607af691155dcd16ec (patch) | |
tree | 25e7e5afe6e9b6c92c6616c67bf4c1e9bb4f9611 /calendar/gui | |
parent | 1b74b936a5be7e35da23fa1f7edd3aa291b29875 (diff) | |
download | gsoc2013-evolution-b94383e883d2b302a6e125607af691155dcd16ec.tar gsoc2013-evolution-b94383e883d2b302a6e125607af691155dcd16ec.tar.gz gsoc2013-evolution-b94383e883d2b302a6e125607af691155dcd16ec.tar.bz2 gsoc2013-evolution-b94383e883d2b302a6e125607af691155dcd16ec.tar.lz gsoc2013-evolution-b94383e883d2b302a6e125607af691155dcd16ec.tar.xz gsoc2013-evolution-b94383e883d2b302a6e125607af691155dcd16ec.tar.zst gsoc2013-evolution-b94383e883d2b302a6e125607af691155dcd16ec.zip |
set the list view config properly (so we don't blow away the month view
2003-12-15 JP Rosevear <jpr@ximian.com>
* 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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/gnome-cal.c | 3 |
1 files changed, 1 insertions, 2 deletions
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), |