diff options
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/e-cal-model.c | 6 |
2 files changed, 12 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 8e9e5e94dd..d72fc88091 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2004-08-16 JP Rosevear <jpr@ximian.com> + + Fixes #62706 + + * gui/e-cal-model.c (e_cal_model_set_timezone): set the default + timezone on the server + 2004-08-16 Sivaiah Nallagatla <snallagatla@novell.com> * gui/alarm-notify/alarm-notify.h : change the prototype of diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c index c39db7dd66..59530dfee7 100644 --- a/calendar/gui/e-cal-model.c +++ b/calendar/gui/e-cal-model.c @@ -1090,7 +1090,8 @@ void e_cal_model_set_timezone (ECalModel *model, icaltimezone *zone) { ECalModelPrivate *priv; - + GList *l; + g_return_if_fail (E_IS_CAL_MODEL (model)); priv = model->priv; @@ -1098,6 +1099,9 @@ e_cal_model_set_timezone (ECalModel *model, icaltimezone *zone) e_table_model_pre_change (E_TABLE_MODEL (model)); priv->zone = zone; + for (l = priv->clients; l; l = l->next) + e_cal_set_default_timezone (((ECalModelClient *)l->data)->client, priv->zone, NULL); + /* the timezone affects the times shown for date fields, so we need to redisplay everything */ e_table_model_changed (E_TABLE_MODEL (model)); |