mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-05 19:45:26 +00:00
Monotone-Parent: e84e98a15cb31552c7707dd925faafe74577f1f4
Monotone-Revision: 59a3a2f8dcdf5c1c777169bb3ffa145eaa47d381 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-23T17:55:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2007-04-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
([SOGoAppointmentFolder -groupDavResourceType]): return both
|
||||
"vevent-collection" and "vtodo-collection".
|
||||
|
||||
* UI/Common/UIxUserRightsEditor.[hm]: new template class module
|
||||
that implements the detailed editor of user rights per-object.
|
||||
|
||||
|
||||
@@ -412,22 +412,26 @@ static NSNumber *sharedYes = nil;
|
||||
return classes;
|
||||
}
|
||||
|
||||
- (NSString *) groupDavResourceType
|
||||
- (NSArray *) groupDavResourceType
|
||||
{
|
||||
return @"vevent-collection";
|
||||
return [NSArray arrayWithObjects: @"vevent-collection",
|
||||
@"vtodo-collection", nil];
|
||||
}
|
||||
|
||||
- (NSArray *) davResourceType
|
||||
{
|
||||
static NSArray *colType = nil;
|
||||
NSArray *gdCol, *cdCol;
|
||||
NSArray *cdCol;
|
||||
NSMutableArray *gdCol;
|
||||
|
||||
if (!colType)
|
||||
{
|
||||
gdCol = [NSMutableArray new];
|
||||
[gdCol addObjectsFromArray: [self groupDavResourceType]];
|
||||
[gdCol addObject: XMLNS_GROUPDAV];
|
||||
cdCol = [NSArray arrayWithObjects: @"calendar", XMLNS_CALDAV, nil];
|
||||
gdCol = [NSArray arrayWithObjects: [self groupDavResourceType],
|
||||
XMLNS_GROUPDAV, nil];
|
||||
colType = [NSArray arrayWithObjects: @"collection", cdCol, gdCol, nil];
|
||||
[gdCol release];
|
||||
[colType retain];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user