mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-24 12:55:24 +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:
@@ -1,5 +1,10 @@
|
||||
2006-10-13 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/Contacts/UIxContactSelector.m ([UIxContactSelector -setCheckedBoxes:boxes])
|
||||
([UIxContactSelector -setHasCheckBoxes:aBool])
|
||||
([UIxContactSelector -isCheckBoxChecked]): new accessors method to
|
||||
permit the drawing of checkboxes instead of card icons.
|
||||
|
||||
* UI/Scheduler/UIxCalCalendarsListView.m: new component class that
|
||||
wrap a selector the the "Calendars" tab.
|
||||
|
||||
|
||||
@@ -30,9 +30,18 @@
|
||||
NSString *callback;
|
||||
|
||||
NSArray *contacts;
|
||||
NSArray *checkedBoxes;
|
||||
iCalPerson *currentContact;
|
||||
|
||||
BOOL hasCheckBoxes;
|
||||
NSString *checkBoxOnChange;
|
||||
}
|
||||
|
||||
- (void) setHasCheckBoxes: (BOOL) aBool;
|
||||
- (BOOL) hasCheckBoxes;
|
||||
- (void) setCheckBoxOnChange: (NSString *) aString;
|
||||
- (NSString *) checkBoxOnChange;
|
||||
|
||||
- (void)setTitle:(NSString *)_title;
|
||||
- (NSString *)title;
|
||||
- (void)setWindowId:(NSString *)_winId;
|
||||
|
||||
@@ -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