Fixes #64688 store the default zone in backend before populating the
authorChenthill Palanisamy <pchenthill@novell.com>
Sun, 5 Sep 2004 12:36:05 +0000 (12:36 +0000)
committerChenthill Palanisamy <pchen@src.gnome.org>
Sun, 5 Sep 2004 12:36:05 +0000 (12:36 +0000)
2004-09-05  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.

calendar/ChangeLog
calendar/backends/groupwise/e-cal-backend-groupwise.c

index 12db427..d2eb3b4 100644 (file)
@@ -1,3 +1,10 @@
+2004-09-05  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 d147424..188eb2c 100644 (file)
@@ -329,6 +329,9 @@ connect_to_server (ECalBackendGroupwise *cbgw)
                                        e_cal_backend_notify_error (E_CAL_BACKEND (cbgw), _("Could not create cache file"));
                                        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 *cbgw)
                                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 {