[evolution-ews] Fix task priority
- From: Pavel Ocheretny <pocheretny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Fix task priority
- Date: Sun, 3 Jul 2011 08:25:50 +0000 (UTC)
commit a465b22b25672e3977ac4643bf9bce0b127f3764
Author: Pavel Ocheretny <pocheretny src gnome org>
Date: Sun Jul 3 11:27:16 2011 +0300
Fix task priority
src/calendar/e-cal-backend-ews.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 3850853..8cb5c00 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -2213,7 +2213,7 @@ add_item_to_cache (ECalBackendEws *cbews, EEwsItem *item, gchar *uid)
icalproperty_class class = ICAL_CLASS_NONE;
const char *ews_task_status, *sensitivity;
EwsImportance item_importance;
- int priority = 2;
+ int priority = 5;
vcomp = icalcomponent_new (ICAL_VCALENDAR_COMPONENT);
/*subject*/
@@ -2253,7 +2253,7 @@ add_item_to_cache (ECalBackendEws *cbews, EEwsItem *item, gchar *uid)
if (item_importance == EWS_ITEM_HIGH)
priority = 3;
else if (item_importance == EWS_ITEM_LOW)
- priority = 1;
+ priority = 7;
icalprop = icalproperty_new_priority (priority);
icalcomponent_add_property (icalcomp, icalprop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]