[evolution-patches] fix for the bug #64688 [calendar]



Hi,
  We must load the default time zone before populating the cache.

thanks, chenthill.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.324
diff -u -p -r1.324 ChangeLog
--- ChangeLog	27 Aug 2004 18:09:58 -0000	1.324
+++ ChangeLog	31 Aug 2004 13:04:31 -0000
@@ -1,3 +1,10 @@
+2004-08-31  Chenthill Palanisamy <pchenthill novell com>
+
+	Fixes #64688
+	* backends/groupwise/e-cal-backend-groupwise.c
+	(connect_to_server): store the default zone in
+	backend before populating the cache.
+	
 2004-08-27  Rodrigo Moya <rodrigo novell com>
 
 	* libedata-cal/e-cal-backend-sexp.c (func_has_alarms_in_range): new
Index: backends/groupwise/e-cal-backend-groupwise.c
===================================================================
RCS file: /cvs/gnome/evolution-data-
server/calendar/backends/groupwise/e-cal-backend-groupwise.c,v
retrieving revision 1.89
diff -u -p -r1.89 e-cal-backend-groupwise.c
--- backends/groupwise/e-cal-backend-groupwise.c	25 Aug 2004 15:12:12
-0000	1.89
+++ backends/groupwise/e-cal-backend-groupwise.c	31 Aug 2004 13:04:32
-0000
@@ -330,6 +330,9 @@ connect_to_server (ECalBackendGroupwise 
 					return GNOME_Evolution_Calendar_OtherError;
 				}
 
+			/* read the default timezone*/
+			priv->default_zone = e_cal_backend_cache_get_default_timezone (priv-
>cache);
+
 			/* Clear the cache before populating it */
 			e_file_cache_clean (E_FILE_CACHE (priv->cache));
 				
@@ -346,8 +349,6 @@ connect_to_server (ECalBackendGroupwise 
 				g_object_ref (priv->cache);
 				g_timeout_add (CACHE_REFRESH_INTERVAL, (GSourceFunc) get_deltas,
(gpointer) cbgw);
 				priv->mode = CAL_MODE_REMOTE;
-				/* read the default timezone*/
-				priv->default_zone = e_cal_backend_cache_get_default_timezone
(priv->cache);
 				return GNOME_Evolution_Calendar_Success;
 			}
 		} else {




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]