[evolution-data-server] Bug #672398 - CalDAV backend doesn't respect "Copy for offline" option
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #672398 - CalDAV backend doesn't respect "Copy for offline" option
- Date: Tue, 24 Apr 2012 12:46:29 +0000 (UTC)
commit fbe6f72a1d2a9c57cff58056ed08cd4ee35fb373
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 24 14:45:54 2012 +0200
Bug #672398 - CalDAV backend doesn't respect "Copy for offline" option
calendar/backends/caldav/e-cal-backend-caldav.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index 04e597d..fcbfecc 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -2478,10 +2478,7 @@ initialize_backend (ECalBackendCalDAV *cbdav,
g_signal_connect (G_OBJECT (source), "changed", G_CALLBACK (caldav_source_changed_cb), cbdav);
os_val = e_source_get_property (source, "offline_sync");
-
- if (!os_val || !g_str_equal (os_val, "1")) {
- cbdav->priv->do_offline = FALSE;
- }
+ cbdav->priv->do_offline = os_val && g_str_equal (os_val, "1");
os_val = e_source_get_property (source, "auth");
cbdav->priv->auth_required = os_val != NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]