mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-10 07:48:52 +00:00
Monotone-Parent: 2512d33c93527cc0878865235de0bc639864f95b
Monotone-Revision: d34e8e3372e74059bfc9d965066f34b31817a199 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-21T22:33:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -35,15 +35,16 @@ static NSArray *filters = nil;
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
NSMutableDictionary *md;
|
||||
NSMutableArray *ma;
|
||||
|
||||
md = [[NSMutableDictionary alloc] initWithCapacity:8];
|
||||
ma = [[NSMutableArray alloc] initWithCapacity:4];
|
||||
static NSString *quals[]
|
||||
= {@"view_all", @"view_today", @"view_next7", @"view_next14",
|
||||
@"view_next31", @"view_thismonth", @"view_future",
|
||||
@"view_selectedday" };
|
||||
|
||||
filters = [ma copy];
|
||||
[md release]; md = nil;
|
||||
[ma release]; ma = nil;
|
||||
if (!filters)
|
||||
{
|
||||
filters = [NSArray arrayWithObjects: quals count: 8];
|
||||
[filters retain];
|
||||
}
|
||||
}
|
||||
|
||||
- (id) init
|
||||
|
||||
Reference in New Issue
Block a user