Monotone-Parent: 6e571370868349ff9fdc22d99f98878688e1a798

Monotone-Revision: 648ca938b27c6fb6be0365e39d56a5441ded8ed5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-09-05T20:13:16
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-09-05 20:13:16 +00:00
parent 28836b1b35
commit 96cdace6fe
3 changed files with 13 additions and 13 deletions

View File

@@ -38,7 +38,7 @@
{
NSMutableDictionary *queryParameters;
NSTimeZone *viewTimeZone;
NSCalendarDate *selectedDate;
NSCalendarDate *_selectedDate;
}
- (NSString *)queryParameterForKey:(NSString *)_key;

View File

@@ -114,7 +114,7 @@ static BOOL uixDebugEnabled = NO;
if ((self = [super init]))
{
viewTimeZone = nil;
selectedDate = nil;
_selectedDate = nil;
}
return self;
@@ -125,8 +125,8 @@ static BOOL uixDebugEnabled = NO;
[self->queryParameters release];
if (viewTimeZone)
[viewTimeZone release];
if (selectedDate)
[selectedDate release];
if (_selectedDate)
[_selectedDate release];
[super dealloc];
}
@@ -350,7 +350,7 @@ static BOOL uixDebugEnabled = NO;
NSCalendarDate *cdate;
unsigned hour, minute;
if (!selectedDate)
if (!_selectedDate)
{
s = [self queryParameterForKey: @"day"];
if ([s length] > 0)
@@ -367,15 +367,15 @@ static BOOL uixDebugEnabled = NO;
{
hour = [[s substringToIndex: 2] unsignedIntValue];
minute = [[s substringFromIndex: 2] unsignedIntValue];
selectedDate = [cdate hour: hour minute: minute];
_selectedDate = [cdate hour: hour minute: minute];
}
else
selectedDate = [cdate hour: 12 minute: 0];
_selectedDate = [cdate hour: 12 minute: 0];
[selectedDate retain];
[_selectedDate retain];
}
return selectedDate;
return _selectedDate;
}
- (NSString *)dateStringForDate:(NSCalendarDate *)_date {

View File

@@ -421,11 +421,11 @@ static BOOL shouldDisplayWeekend = NO;
- (NSArray *) fetchCoreInfos
{
if (!self->appointments)
SOGoAppointmentFolder *folder;
NSCalendarDate *sd, *ed;
if (!self->appointments)
{
id folder;
NSCalendarDate *sd, *ed;
folder = [self clientObject];
sd = [self startDate];
ed = [self endDate];