[evolution-data-server] Manual Refresh on a CalDAV calendar does not work
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Manual Refresh on a CalDAV calendar does not work
- Date: Mon, 20 Feb 2012 18:05:05 +0000 (UTC)
commit 3bf185dbe87dc41ae7261a7f3684feafa6c5d4c8
Author: Milan Crha <mcrha redhat com>
Date: Mon Feb 20 19:04:11 2012 +0100
Manual Refresh on a CalDAV calendar does not work
Found as part of bug #661265
calendar/backends/caldav/e-cal-backend-caldav.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/backends/caldav/e-cal-backend-caldav.c b/calendar/backends/caldav/e-cal-backend-caldav.c
index 7ca8b8b..323d228 100644
--- a/calendar/backends/caldav/e-cal-backend-caldav.c
+++ b/calendar/backends/caldav/e-cal-backend-caldav.c
@@ -2675,7 +2675,7 @@ caldav_refresh (ECalBackendSync *backend,
g_mutex_lock (cbdav->priv->busy_lock);
if (!cbdav->priv->loaded
- || cbdav->priv->slave_cmd != SLAVE_SHOULD_SLEEP
+ || cbdav->priv->slave_cmd == SLAVE_SHOULD_DIE
|| !check_state (cbdav, &online, NULL)
|| !online) {
g_mutex_unlock (cbdav->priv->busy_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]