Monotone-Parent: 343adae0f9aaa38141d7e8ecb879168e50fff1bf
Monotone-Revision: 839606f21589ee616eceb8ec004d3a2d9daedb7e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-03-24T20:11:18 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
cb18bab0c6
commit
b7217b2b1f
|
@ -94,15 +94,16 @@ iRANGE(2);
|
|||
|
||||
- (id) init
|
||||
{
|
||||
UIxDatePicker *datePicker;
|
||||
|
||||
if ((self = [super init]))
|
||||
{
|
||||
UIxDatePicker *datePicker;
|
||||
|
||||
// We must instanciate a UIxDatePicker object to retrieve
|
||||
// the proper date format to use.
|
||||
datePicker = [[UIxDatePicker alloc] initWithContext: context];
|
||||
dateFormat = [datePicker dateFormat];
|
||||
|
||||
[datePicker release];
|
||||
|
||||
component = nil;
|
||||
componentCalendar = nil;
|
||||
[self setPrivacy: @"PUBLIC"];
|
||||
|
@ -127,8 +128,6 @@ iRANGE(2);
|
|||
repeat7 = nil;
|
||||
range1 = nil;
|
||||
range2 = nil;
|
||||
|
||||
[datePicker release];
|
||||
}
|
||||
|
||||
return self;
|
||||
|
@ -167,7 +166,7 @@ iRANGE(2);
|
|||
[repeat7 release];
|
||||
[range1 release];
|
||||
[range2 release];
|
||||
|
||||
|
||||
[component release];
|
||||
[componentCalendar release];
|
||||
|
||||
|
@ -195,7 +194,7 @@ iRANGE(2);
|
|||
[names appendFormat: @"%@,", [currentAttendee cn]];
|
||||
else
|
||||
[names appendFormat: @"%@,", [currentAttendee rfc822Email]];
|
||||
|
||||
|
||||
[emails appendFormat: @"%@,", [currentAttendee rfc822Email]];
|
||||
uid = [um getUIDForEmail: [currentAttendee rfc822Email]];
|
||||
if (uid != nil)
|
||||
|
@ -363,7 +362,12 @@ iRANGE(2);
|
|||
[self setRange1: @"0"];
|
||||
}
|
||||
else
|
||||
DESTROY(repeat);
|
||||
{
|
||||
DESTROY(repeat);
|
||||
repeatType = @"0";
|
||||
repeat1 = @"0";
|
||||
repeat2 = @"1";
|
||||
}
|
||||
}
|
||||
|
||||
/* warning: we use this method which will be triggered by the template system
|
||||
|
|
Loading…
Reference in a new issue