mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-24 03:14:17 +00:00
Monotone-Parent: 9fd0514bbfcb3644ae55d706b2e8133b5b8a1280
Monotone-Revision: a43f16c8cf580c2fed97407d3923b03048908bdd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-03-29T18:15:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -74,39 +74,13 @@
|
||||
return searchText;
|
||||
}
|
||||
|
||||
- (NSString *) selectorComponentClass
|
||||
{
|
||||
return selectorComponentClass;
|
||||
}
|
||||
|
||||
- (id) mailerContactsAction
|
||||
- (id <WOActionResults>) mailerContactsAction
|
||||
{
|
||||
selectorComponentClass = @"UIxContactsMailerSelection";
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id) calendarsContactsAction
|
||||
{
|
||||
selectorComponentClass = @"UIxContactsCalendarsSelection";
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id) addressBooksContactsAction
|
||||
{
|
||||
selectorComponentClass = @"UIxContactsAddressBooksSelection";
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id) aclsContactsAction
|
||||
{
|
||||
selectorComponentClass = @"UIxContactsAclsSelection";
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
- (id <WOActionResults>) deleteAction
|
||||
{
|
||||
id <WOActionResults> result;
|
||||
@@ -196,4 +170,23 @@
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (WOResponse *) canAccessContentAction
|
||||
{
|
||||
WOResponse *response;
|
||||
NSString *clientClass;
|
||||
|
||||
clientClass = NSStringFromClass([[self clientObject] class]);
|
||||
|
||||
response = [context response];
|
||||
[response setStatus: 200];
|
||||
[response setHeader: @"text/plain; charset=\"ascii\""
|
||||
forKey: @"content-type"];
|
||||
[response
|
||||
appendContentString:
|
||||
([clientClass isEqualToString: @"SOGoContactLDAPFolder"])
|
||||
? @"1" : @"0"];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
@end /* UIxContactsListView */
|
||||
|
||||
Reference in New Issue
Block a user