[evolution-ews: 4/4] Set Evolution meeting status as Free for meeting with Tentative status There is no appropriate statu
- From: Pavel Ocheretny <pocheretny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews: 4/4] Set Evolution meeting status as Free for meeting with Tentative status There is no appropriate statu
- Date: Wed, 25 May 2011 09:36:27 +0000 (UTC)
commit 30e9eb593fd4e54e853673e8a7aca83ca23c4cfa
Author: Pavel Ocheretny <pocheretny git gnome org>
Date: Wed May 25 12:33:21 2011 +0300
Set Evolution meeting status as Free for meeting with Tentative status
There is no appropriate status in icalcomponent to manage the Exchange Tentative status
we decided to use weak status (Free) to represent Tentative
src/calendar/e-cal-backend-ews.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index a49abee..526e9f0 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1757,10 +1757,10 @@ add_item_to_cache (ECalBackendEws *cbews, EEwsItem *item, gchar *uid)
icalprop = icalcomponent_get_next_property (icalcomp, ICAL_X_PROPERTY)) {
if (g_strcmp0(icalproperty_get_x_name(icalprop), "X-MICROSOFT-CDO-BUSYSTATUS") == 0) {
- if (g_strcmp0(icalproperty_get_value_as_string(icalprop), "FREE") == 0) {
- icalproperty_set_transp(freebusy, ICAL_TRANSP_TRANSPARENT);
- } else {
+ if (g_strcmp0(icalproperty_get_value_as_string(icalprop), "BUSY") == 0) {
icalproperty_set_transp(freebusy, ICAL_TRANSP_OPAQUE);
+ } else {
+ icalproperty_set_transp(freebusy, ICAL_TRANSP_TRANSPARENT);
}
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]