mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-30 18:57:18 +00:00
Monotone-Parent: 731a7f62eb98a27ed958a12f2f7a86567832ee16
Monotone-Revision: 3f3b43eebeb6af62782d4d959c2a06ffd214563e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-13T23:26:27 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
[self setTitle:@"UIxContacts"];
|
||||
[self setWindowId:@"UIxContacts"];
|
||||
[self setCallback:@"undefined"];
|
||||
checkedBoxes = nil;
|
||||
}
|
||||
return self;
|
||||
}
|
||||
@@ -199,4 +200,35 @@
|
||||
return [currentContact cn];
|
||||
}
|
||||
|
||||
- (void) setCheckedBoxes: (NSArray *) boxes
|
||||
{
|
||||
checkedBoxes = boxes;
|
||||
}
|
||||
|
||||
- (void) setHasCheckBoxes: (BOOL) aBool
|
||||
{
|
||||
hasCheckBoxes = aBool;
|
||||
}
|
||||
|
||||
- (BOOL) hasCheckBoxes
|
||||
{
|
||||
return hasCheckBoxes;
|
||||
}
|
||||
|
||||
- (BOOL) isCheckBoxChecked
|
||||
{
|
||||
return (checkedBoxes != nil
|
||||
&& [checkedBoxes containsObject: currentContact]);
|
||||
}
|
||||
|
||||
- (void) setCheckBoxOnChange: (NSString *) aString
|
||||
{
|
||||
checkBoxOnChange = aString;
|
||||
}
|
||||
|
||||
- (NSString *) checkBoxOnChange
|
||||
{
|
||||
return checkBoxOnChange;
|
||||
}
|
||||
|
||||
@end /* UIxContactSelector */
|
||||
|
||||
Reference in New Issue
Block a user