Monotone-Parent: 0dce3171028377890b2c97a1af06a577c875930c

Monotone-Revision: acf6003d2dca73186ecece884f034aee4351372c

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-09-28T15:06:29
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2010-09-28 15:06:29 +00:00
parent e31f76877f
commit 3d62a683ce
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2010-09-28 Wolfgang Sourdeau <wsourdeau@inverse.ca> 2010-09-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoMailObject.m (-displayName): new accessor.
* SoObjects/Mailer/SOGoMailFolder.m (-displayName): fixed accessor * SoObjects/Mailer/SOGoMailFolder.m (-displayName): fixed accessor
to return the real folder name rather than the nameInContainer, to return the real folder name rather than the nameInContainer,
which is escaped and prefixed with "folder". which is escaped and prefixed with "folder".

View file

@ -252,6 +252,11 @@ static BOOL debugSoParts = NO;
return [[self envelope] subject]; return [[self envelope] subject];
} }
- (NSString *) displayName
{
return [self subject];
}
- (NSString *) decodedSubject - (NSString *) decodedSubject
{ {
return [[self subject] decodedHeader]; return [[self subject] decodedHeader];
@ -892,7 +897,7 @@ static BOOL debugSoParts = NO;
return NO; return NO;
} }
- (id) davContentLength - (NSString *) davContentLength
{ {
return [[self fetchCoreInfos] valueForKey: @"size"]; return [[self fetchCoreInfos] valueForKey: @"size"];
} }