Monotone-Parent: dc5bdda4eee483eae805bffa6ff605e9995cd81d

Monotone-Revision: 9f79dbe6555cff12bfb3ced124471b7ced0eb94f

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-09-10T13:38:56
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-09-10 13:38:56 +00:00
parent b2789c005c
commit 20f44a3927
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-09-10 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Scheduler/UIxComponentEditor.m (-setComment,comment):
properly substitute the form-provided "\r\n" sequences with "\n"
sequences and vice-versa.
2009-09-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m

View File

@ -806,12 +806,13 @@ iRANGE(2);
- (void) setComment: (NSString *) _value
{
ASSIGN (comment, _value);
#warning should we do the same for "location" and "summary"? What about ContactsUI?
ASSIGN (comment, [_value stringByReplacingString: @"\r\n" withString: @"\n"]);
}
- (NSString *) comment
{
return comment;
return [comment stringByReplacingString: @"\n" withString: @"\r\n"];
}
- (BOOL) hasComment