Monotone-Parent: 5066f4418986dc6df8b207002b41f82bc9e2bb8b

Monotone-Revision: 78e21f4d868126d413a1b1a4924181b29cb18052

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-20T21:26:42
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-02-20 21:26:42 +00:00
parent cb6a4530e1
commit 4e9bc9ffbf
6 changed files with 38 additions and 38 deletions

View File

@@ -167,7 +167,7 @@ iRANGE(2);
component = nil;
componentCalendar = nil;
[self setPrivacy: @"PUBLIC"];
[self setClassification: @"PUBLIC"];
[self setIsCycleEndNever];
componentOwner = @"";
organizer = nil;
@@ -629,7 +629,7 @@ iRANGE(2);
ASSIGN (location, [component location]);
ASSIGN (comment, [component comment]);
ASSIGN (attachUrl, [[component attach] absoluteString]);
ASSIGN (privacy, [component accessClass]);
ASSIGN (classification, [component accessClass]);
ASSIGN (priority, [component priority]);
ASSIGN (status, [component status]);
ASSIGN (categories, [component categories]);
@@ -701,7 +701,7 @@ iRANGE(2);
return [self labelForKey: [NSString stringWithFormat: @"prio_%@", item]];
}
- (NSString *) itemPrivacyText
- (NSString *) itemClassificationText
{
NSString *tag;
@@ -1380,7 +1380,7 @@ iRANGE(2);
return [priority length] > 0;
}
- (NSArray *) privacyClasses
- (NSArray *) classificationClasses
{
static NSArray *priorities = nil;
@@ -1394,14 +1394,14 @@ iRANGE(2);
return priorities;
}
- (void) setPrivacy: (NSString *) _privacy
- (void) setClassification: (NSString *) _classification
{
ASSIGN (privacy, _privacy);
ASSIGN (classification, _classification);
}
- (NSString *) privacy
- (NSString *) classification
{
return privacy;
return classification;
}
- (void) setStatus: (NSString *) _status
@@ -2149,7 +2149,7 @@ RANGE(2);
[component setLocation: location];
[component setComment: comment];
[component setAttach: attachUrl];
[component setAccessClass: privacy];
[component setAccessClass: classification];
[component setCategories: categories];
[self _handleAttendeesEdition];
[self _handleOrganizer];