Monotone-Parent: a311d7d0d46a40428355d5d16855425659aafddf

Monotone-Revision: 0dd67af506445aca2871edc97a4383c609e20c42

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-12-04T22:47:41
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle committed 2007-12-04 22:47:41 +00:00
1 parent d68bfa6b96
commit bf8acbc6ab
2 files changed
+13 -17

No files matched your search

+4 -10
View File
@@ -86,7 +86,7 @@ static NSArray *headers = nil;
- (id) init
{
if ((self = [super init]))
currentIndex = 0;
currentIndex = -1;
return self;
}
@@ -215,11 +215,14 @@ static NSArray *headers = nil;
- (NSString *) currentRowId
{
[self nextId];
return [NSString stringWithFormat: @"row_%d", currentIndex];
}
- (NSString *) currentPopUpId
{
return [NSString stringWithFormat: @"popup_%d", currentIndex];
}
@@ -326,13 +329,4 @@ static NSArray *headers = nil;
return [to count] + [cc count] + [bcc count];
}
- (int) currentIndex
{
int count;
count = [self addressCount];
return count > 0 ? count - 1 : 0;
}
@end /* UIxMailToSelection */