evolution-exchange r1539 - in trunk: . calendar



Author: msuman
Date: Sun Jan 13 17:21:16 2008
New Revision: 1539
URL: http://svn.gnome.org/viewvc/evolution-exchange?rev=1539&view=rev

Log:
Fix for bug #404002 (Set default priority of Exchange tasks as \'Normal\', use -1 as property value for \'Low\' priority tasks)

Modified:
   trunk/ChangeLog
   trunk/calendar/e-cal-backend-exchange-tasks.c

Modified: trunk/calendar/e-cal-backend-exchange-tasks.c
==============================================================================
--- trunk/calendar/e-cal-backend-exchange-tasks.c	(original)
+++ trunk/calendar/e-cal-backend-exchange-tasks.c	Sun Jan 13 17:21:16 2008
@@ -132,7 +132,7 @@
                 else if (*priority == 5)
                         value = 0;
                 else
-                        value = 2;
+                        value = -1;
                 e_cal_component_free_priority (priority);
         }
         e2k_properties_set_int (props, E2K_PR_MAPI_PRIORITY, value);
@@ -665,9 +665,9 @@
 				priority = 5;
 			else
 				priority = 0;
-
-			e_cal_component_set_priority (ecal, &priority);
-		}
+		} else 
+			priority = 5;
+		e_cal_component_set_priority (ecal, &priority);
 
 		/* Set Summary */
 		if ((str = e2k_properties_get_prop (result->props,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]