[evolution-patches] 62706 View not refreshing properly after changing timezone
- From: JP Rosevear <jpr novell com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] 62706 View not refreshing properly after changing timezone
- Date: Mon, 16 Aug 2004 15:56:39 -0400
The EDS fix isn't necessary but its more efficient.
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
? 62706-eds.patch
? libical/src/libicalss/icalssyacc.output
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.312
diff -u -r1.312 ChangeLog
--- ChangeLog 16 Aug 2004 10:31:53 -0000 1.312
+++ ChangeLog 16 Aug 2004 19:55:22 -0000
@@ -1,3 +1,8 @@
+2004-08-16 JP Rosevear <jpr novell com>
+
+ * libecal/e-cal.c (e_cal_set_default_timezone): don't set the same
+ time to the server again, avoids a needless server hit
+
2004-08-13 Hans Petter Jansson <hpj ximian com>
Fixes bug #62655.
Index: libecal/e-cal.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libecal/e-cal.c,v
retrieving revision 1.72
diff -u -r1.72 e-cal.c
--- libecal/e-cal.c 16 Aug 2004 10:31:53 -0000 1.72
+++ libecal/e-cal.c 16 Aug 2004 19:55:22 -0000
@@ -4189,6 +4189,10 @@
priv = ecal->priv;
+ /* Don't set the same timezone multiple times */
+ if (priv->default_zone == zone)
+ return;
+
/* Make sure the server has the VTIMEZONE data. */
if (!e_cal_ensure_timezone_on_server (ecal, zone, error))
return FALSE;
? 61555.patch
? 62021.patch
? 62452.patch
? 62706.patch
? editable.patch
? invitations.patch
? list-name.patch
? recur-dialog.patch
? repeat-load.patch
? gui/scroll.patch
? gui/select-auto.patch
? gui/select.patch
? gui/temp.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2488
diff -u -r1.2488 ChangeLog
--- ChangeLog 16 Aug 2004 09:50:21 -0000 1.2488
+++ ChangeLog 16 Aug 2004 19:55:37 -0000
@@ -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
Index: gui/e-cal-model.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-cal-model.c,v
retrieving revision 1.43
diff -u -r1.43 e-cal-model.c
--- gui/e-cal-model.c 11 Aug 2004 10:07:12 -0000 1.43
+++ gui/e-cal-model.c 16 Aug 2004 19:55:37 -0000
@@ -1090,7 +1090,8 @@
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_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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]