diff options
author | JP Rosevear <jpr@ximian.com> | 2004-08-17 21:35:28 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-08-17 21:35:28 +0800 |
commit | a3d21e9d880ea89e264e96fa8987bc3be7e388cd (patch) | |
tree | 4f10ac49603bb2ee6c53c3928efa312b672e3fcb /calendar | |
parent | e82021415a3ec87ffda7b696541f10d4a156e5be (diff) | |
download | gsoc2013-evolution-a3d21e9d880ea89e264e96fa8987bc3be7e388cd.tar.gz gsoc2013-evolution-a3d21e9d880ea89e264e96fa8987bc3be7e388cd.tar.zst gsoc2013-evolution-a3d21e9d880ea89e264e96fa8987bc3be7e388cd.zip |
Fixes #62706
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
svn path=/trunk/; revision=26955
Diffstat (limited to 'calendar')
-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)); |