From c3b699db6987d408f8615920d7438451443191bc Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 29 Sep 2006 21:45:36 +0000 Subject: [PATCH] Monotone-Parent: 0dec2fe97ccbe3ebaf8c37cca2fe8536d2ffde6f Monotone-Revision: 449b9c9fa10daa64618c01940a7d7f15a9d6f168 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-29T21:45:36 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolder.m | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index ef94d6ba5..2d22f053a 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -170,11 +170,11 @@ static NSNumber *sharedYes = nil; toREPORTResponse: (WOResponse *) r { SOGoAppointmentObject *realApt; - NSString *uid, *etagLine, *dataLine; + NSString *c_name, *etagLine, *dataLine; - uid = [appointment objectForKey: @"uid"]; + c_name = [appointment objectForKey: @"c_name"]; - realApt = [SOGoAppointmentObject objectWithName: uid + realApt = [SOGoAppointmentObject objectWithName: c_name inContainer: self]; [r appendContentString: @" \r\n"]; @@ -182,7 +182,7 @@ static NSNumber *sharedYes = nil; [r appendContentString: baseURL]; if (![baseURL hasSuffix: @"/"]) [r appendContentString: @"/"]; - [r appendContentString: uid]; + [r appendContentString: c_name]; [r appendContentString: @"\r\n"]; [r appendContentString: @" \r\n"]; @@ -604,6 +604,7 @@ static NSNumber *sharedYes = nil; static NSArray *infos = nil; // TODO: move to a plist file if (infos == nil) { infos = [[NSArray alloc] initWithObjects: + @"c_name", @"title", @"location", @"orgmail", @"status", @"ispublic", @"isallday", @"isopaque",