mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
Mantis #5 completed, needs testing
Monotone-Parent: bb2d11200e5d8cbdc9a740b2a9e019efed65432b Monotone-Revision: 00f021939a59d6bcc0871dadde8fbc81c2d0b614 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-16T15:57:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -615,7 +615,7 @@ iRANGE(2);
|
||||
|
||||
- (NSString *) title
|
||||
{
|
||||
SOGoObject <SOGoComponentOccurence> *co;
|
||||
SOGoCalendarComponent *co;
|
||||
NSString *tag;
|
||||
|
||||
co = [self clientObject];
|
||||
@@ -806,9 +806,13 @@ iRANGE(2);
|
||||
{
|
||||
NSMutableArray *categoryList;
|
||||
NSArray *categoryLabels;
|
||||
NSUserDefaults *defaults;
|
||||
|
||||
categoryLabels = [[self labelForKey: @"category_labels"]
|
||||
componentsSeparatedByString: @","];
|
||||
defaults = [[context activeUser] userDefaults];
|
||||
categoryLabels = [defaults arrayForKey: @"CalendarCategories"];
|
||||
if (!categoryLabels)
|
||||
categoryLabels = [[self labelForKey: @"category_labels"]
|
||||
componentsSeparatedByString: @","];
|
||||
categoryList
|
||||
= [NSMutableArray arrayWithCapacity: [categoryLabels count] + 1];
|
||||
if ([category length] && ![categoryLabels containsObject: category])
|
||||
|
||||
Reference in New Issue
Block a user