mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
Monotone-Parent: 32dfb6e6d5b5c65eb70d4f6d9673a8e57b99795d
Monotone-Revision: 92223c349e36554e352239ae2da737603abfaea3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-25T20:07:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -173,9 +173,32 @@ static int attachmentFlagSize = 8096;
|
||||
|
||||
- (NSString *) messageSubjectCellStyleClass
|
||||
{
|
||||
return ([self isMessageRead]
|
||||
? @"mailer_readmailsubject"
|
||||
: @"mailer_unreadmailsubject");
|
||||
NSArray *flags;
|
||||
NSString *cellClass;
|
||||
|
||||
flags = [[self message] valueForKey:@"flags"];
|
||||
|
||||
if ([flags containsObject: @"seen"])
|
||||
{
|
||||
if ([flags containsObject: @"answered"])
|
||||
{
|
||||
if ([flags containsObject: @"$forwarded"])
|
||||
cellClass = @"mailer_forwardedrepliedmailsubject";
|
||||
else
|
||||
cellClass = @"mailer_repliedmailsubject";
|
||||
}
|
||||
else if ([flags containsObject: @"$forwarded"])
|
||||
cellClass = @"mailer_forwardedmailsubject";
|
||||
else
|
||||
cellClass = @"mailer_readmailsubject";
|
||||
}
|
||||
else
|
||||
cellClass = @"mailer_unreadmailsubject";
|
||||
|
||||
return cellClass;
|
||||
// return ([self isMessageRead]
|
||||
// ? @"mailer_readmailsubject"
|
||||
// : @"mailer_unreadmailsubject");
|
||||
}
|
||||
|
||||
- (BOOL) hasMessageAttachment
|
||||
|
||||
Reference in New Issue
Block a user