mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-06 15:46:23 +00:00
Monotone-Parent: c7ef74f1e3041c2b65e2347f76ab6c77ad4a1faf
Monotone-Revision: af54238ee1f81a070c6197fca70d25f2fefd747a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-06-29T00:13:03 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2007-06-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Mailer/SOGoMailObject.m ([SOGoMailObject -date]):
|
||||
applies the user timezone to the date object before returning it.
|
||||
|
||||
* UI/Common/UIxSortButton.m: removed useless class module.
|
||||
|
||||
* UI/Common/UIxSortableTableHeader.m: removed useless class
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
*/
|
||||
|
||||
#import <Foundation/NSArray.h>
|
||||
#import <Foundation/NSCalendarDate.h>
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSEnumerator.h>
|
||||
#import <Foundation/NSString.h>
|
||||
@@ -251,12 +252,24 @@ static BOOL debugSoParts = NO;
|
||||
- (NGImap4Envelope *)envelope {
|
||||
return [[self fetchCoreInfos] valueForKey:@"envelope"];
|
||||
}
|
||||
- (NSString *)subject {
|
||||
|
||||
- (NSString *) subject
|
||||
{
|
||||
return [[self envelope] subject];
|
||||
}
|
||||
- (NSCalendarDate *)date {
|
||||
return [[self envelope] date];
|
||||
|
||||
- (NSCalendarDate *) date
|
||||
{
|
||||
NSTimeZone *userTZ;
|
||||
NSCalendarDate *date;
|
||||
|
||||
userTZ = [[context activeUser] timeZone];
|
||||
date = [[self envelope] date];
|
||||
[date setTimeZone: userTZ];
|
||||
|
||||
return date;
|
||||
}
|
||||
|
||||
- (NSArray *)fromEnvelopeAddresses {
|
||||
return [[self envelope] from];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user