[evolution-data-server] Bug 611860 - Pilot calendar, todo, memo do not sync when timezone is set to UTC
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug 611860 - Pilot calendar, todo, memo do not sync when timezone is set to UTC
- Date: Mon, 8 Mar 2010 05:42:38 +0000 (UTC)
commit 9e26e2a667e12f08032469d760be7db76c562bf0
Author: Matt McCutchen 2 <matt mattmccutchen net>
Date: Sun Mar 7 22:31:47 2010 -0500
Bug 611860 - Pilot calendar, todo, memo do not sync when timezone is set to UTC
calendar/libecal/e-cal.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/calendar/libecal/e-cal.c b/calendar/libecal/e-cal.c
index 59374d1..08181aa 100644
--- a/calendar/libecal/e-cal.c
+++ b/calendar/libecal/e-cal.c
@@ -3944,9 +3944,9 @@ e_cal_set_default_timezone (ECal *ecal, icaltimezone *zone, GError **error)
priv = ecal->priv;
e_return_error_if_fail (priv->proxy, E_CALENDAR_STATUS_REPOSITORY_OFFLINE);
- /* Don't set the same timezone multiple times */
+ /* If the same timezone is already set, we don't have to do anything. */
if (priv->default_zone == zone)
- return FALSE;
+ return TRUE;
if (priv->load_state != E_CAL_LOAD_LOADED) {
E_CALENDAR_CHECK_STATUS (E_CALENDAR_STATUS_URI_NOT_LOADED, error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]