Monotone-Parent: 8d867d6c59e7ebea428c107ce0681159571e7c90
Monotone-Revision: 72cfb3dcfa19c247349b29d61b4878d418d4c13e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-03-22T15:23:59 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
55911cd375
commit
0ec64bc634
|
@ -1,3 +1,9 @@
|
|||
2012-03-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreTasksMessage.m (-save):
|
||||
PidLidPercentComplete is a double, that we need to convert in
|
||||
order to obtain the proper value.
|
||||
|
||||
2012-03-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoUserManager.m (_compactAndCompleteContacts:):
|
||||
|
|
|
@ -331,6 +331,7 @@
|
|||
NSString *status, *priority;
|
||||
NSCalendarDate *now;
|
||||
NSInteger tzOffset;
|
||||
double doubleValue;
|
||||
|
||||
vToDo = [sogoObject component: YES secure: NO];
|
||||
vCalendar = [vToDo parent];
|
||||
|
@ -452,7 +453,11 @@
|
|||
// is always set to 0, no matter what value is set in Outlook
|
||||
value = [properties objectForKey: MAPIPropertyKey (PidLidPercentComplete)];
|
||||
if (value)
|
||||
[vToDo setPercentComplete: [value stringValue]];
|
||||
{
|
||||
doubleValue = [value doubleValue];
|
||||
[vToDo setPercentComplete:
|
||||
[NSString stringWithFormat: @"%d", (int) (doubleValue * 100)]];
|
||||
}
|
||||
|
||||
now = [NSCalendarDate date];
|
||||
if ([sogoObject isNew])
|
||||
|
|
Loading…
Reference in New Issue