mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-28 09:32:46 +00:00
Monotone-Parent: 0d487a0e7d301ad5f2aedda008c41843eca204d8
Monotone-Revision: 1f46dbc903f7ca9ba9cc8ce7548e8dcc424e109e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-08T19:56:55 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
2007-11-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoParentFolder.m ([SOGoParentFolder
|
||||
-newFolderWithName:nameandNameInContainer:newNameInContainer]):
|
||||
fixed method to make use of the parameters instead of the useless
|
||||
remains that weren't even initialized.
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentObject.m
|
||||
([SOGoAppointmentObject -saveContentString:_iCalbaseSequence:_v]):
|
||||
don't propagate the event among the attendees if this is not an
|
||||
|
||||
@@ -196,24 +196,24 @@
|
||||
- (NSException *) newFolderWithName: (NSString *) name
|
||||
andNameInContainer: (NSString *) newNameInContainer
|
||||
{
|
||||
NSString *newFolderID;
|
||||
SOGoGCSFolder *newFolder;
|
||||
NSException *error;
|
||||
|
||||
if (!subFolderClass)
|
||||
subFolderClass = [[self class] subFolderClass];
|
||||
|
||||
newFolder = [subFolderClass objectWithName: newFolderID inContainer: self];
|
||||
newFolder = [subFolderClass objectWithName: newNameInContainer
|
||||
inContainer: self];
|
||||
if ([newFolder isKindOfClass: [NSException class]])
|
||||
error = (NSException *) newFolder;
|
||||
else
|
||||
{
|
||||
[newFolder setDisplayName: name];
|
||||
[newFolder setOCSPath: [NSString stringWithFormat: @"%@/%@",
|
||||
OCSPath, newFolderID]];
|
||||
OCSPath, newNameInContainer]];
|
||||
if ([newFolder create])
|
||||
{
|
||||
[subFolders setObject: newFolder forKey: name];
|
||||
[subFolders setObject: newFolder forKey: newNameInContainer];
|
||||
error = nil;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user