diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/e-tasks.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 6c465d80b7..fe432ef39d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,11 @@ 2004-04-21 JP Rosevear <jpr@ximian.com> + * gui/e-tasks.c (set_timezone): only set the preview zone if the + preview has been created + (setup_widgets): set the default zone for the preview pane + +2004-04-21 JP Rosevear <jpr@ximian.com> + Fixes #55797 * gui/calendar-component.c (create_new_event): force an all day diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 9d383f7366..dbee3dab4c 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -216,7 +216,8 @@ set_timezone (ETasks *tasks) e_cal_set_default_timezone (client, zone, NULL); } - e_cal_component_preview_set_default_timezone (E_CAL_COMPONENT_PREVIEW (priv->preview), zone); + if (priv->preview) + e_cal_component_preview_set_default_timezone (E_CAL_COMPONENT_PREVIEW (priv->preview), zone); } static void @@ -353,9 +354,8 @@ setup_widgets (ETasks *tasks) g_signal_connect (etable, "selection_change", G_CALLBACK (table_selection_change_cb), tasks); /* create the task detail */ -// gtk_widget_pop_colormap (); - priv->preview = e_cal_component_preview_new (); + e_cal_component_preview_set_default_timezone (E_CAL_COMPONENT_PREVIEW (priv->preview), calendar_config_get_icaltimezone ()); gtk_paned_add2 (GTK_PANED (paned), priv->preview); gtk_widget_show (priv->preview); |