mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 05:17:15 +00:00
Monotone-Parent: aeb8c107b97ba5a8089c220a6f38fa3a8ce06df6
Monotone-Revision: 1178361f8707a8028000acf5b245a4eef4ee3f92 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-11T16:09:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
e61634f501
commit
89d4df71b1
2 files changed
+23
No files matched your search
@@ -1,5 +1,10 @@
|
|||||||
2011-02-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
2011-02-11 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||||
|
|
||||||
|
* OpenChange/MAPIStoreContactsMessageTable.m
|
||||||
|
(-sortIdentifierForProperty:): implemented basic table for
|
||||||
|
supporting the sorting implied by the use of the addressbook label
|
||||||
|
buttons.
|
||||||
|
|
||||||
* OpenChange/MAPIStoreTasksMessageTable.m
|
* OpenChange/MAPIStoreTasksMessageTable.m
|
||||||
(-sortIdentifierForProperty:): implemented basic table for
|
(-sortIdentifierForProperty:): implemented basic table for
|
||||||
supporting common header sorts from the OL interface.
|
supporting common header sorts from the OL interface.
|
||||||
|
|||||||
@@ -566,6 +566,8 @@
|
|||||||
forKey: MAPIPropertyKey (PidLidEmail3EmailAddress)];
|
forKey: MAPIPropertyKey (PidLidEmail3EmailAddress)];
|
||||||
[knownProperties setObject: @"c_cn"
|
[knownProperties setObject: @"c_cn"
|
||||||
forKey: MAPIPropertyKey (PR_DISPLAY_NAME_UNICODE)];
|
forKey: MAPIPropertyKey (PR_DISPLAY_NAME_UNICODE)];
|
||||||
|
[knownProperties setObject: @"c_cn"
|
||||||
|
forKey: MAPIPropertyKey (PidLidFileUnder)];
|
||||||
}
|
}
|
||||||
|
|
||||||
return [knownProperties objectForKey: MAPIPropertyKey (property)];
|
return [knownProperties objectForKey: MAPIPropertyKey (property)];
|
||||||
@@ -604,4 +606,20 @@
|
|||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* sorting */
|
||||||
|
|
||||||
|
- (NSString *) sortIdentifierForProperty: (enum MAPITAGS) property
|
||||||
|
{
|
||||||
|
static NSMutableDictionary *knownProperties = nil;
|
||||||
|
|
||||||
|
if (!knownProperties)
|
||||||
|
{
|
||||||
|
knownProperties = [NSMutableDictionary new];
|
||||||
|
[knownProperties setObject: @"c_cn"
|
||||||
|
forKey: MAPIPropertyKey (PidLidFileUnder)];
|
||||||
|
}
|
||||||
|
|
||||||
|
return [knownProperties objectForKey: MAPIPropertyKey (property)];
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
Reference in new issue
Block a user