*** empty log message ***
authorChenthill Palanisamy <pchen@src.gnome.org>
Tue, 17 Aug 2004 08:26:33 +0000 (08:26 +0000)
committerChenthill Palanisamy <pchen@src.gnome.org>
Tue, 17 Aug 2004 08:26:33 +0000 (08:26 +0000)
calendar/backends/groupwise/e-cal-backend-groupwise.c

index 2752fc8..78ac30f 100644 (file)
@@ -273,6 +273,12 @@ connect_to_server (ECalBackendGroupwise *cbgw)
                /* As of now we are assuming that logged in user has write rights to calender */
                /* we need to read actual rights from server when we implement proxy user access */
                cbgw->priv->read_only = FALSE;
+
+               if (priv->cnc && priv->cache) {
+                       priv->mode = CAL_MODE_REMOTE;
+                       return GNOME_Evolution_Calendar_Success;
+               }
+
        
                if (E_IS_GW_CONNECTION (priv->cnc)) {
                        icalcomponent_kind kind;