mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 21:53:19 +00:00
See ChangeLog
Monotone-Parent: ede90c4ec21ca642e49b4287679877bd02717ed6 Monotone-Revision: ae2c5342363a3fa87101fa6840e1c1e1f7a819c0 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-06-01T21:10:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -471,13 +471,20 @@
|
||||
columnsMetaData = [NSMutableDictionary dictionaryWithCapacity: 8];
|
||||
|
||||
tmpKeys = [NSArray arrayWithObjects: @"headerClass", @"headerId", @"value",
|
||||
nil];
|
||||
nil];
|
||||
tmpColumns
|
||||
= [NSArray arrayWithObjects: @"messageSubjectColumn tbtv_headercell sortableTableHeader resizable",
|
||||
@"subjectHeader", @"Subject", nil];
|
||||
@"subjectHeader", @"Subject", nil];
|
||||
[columnsMetaData setObject: [NSDictionary dictionaryWithObjects: tmpColumns
|
||||
forKeys: tmpKeys]
|
||||
forKey: @"Subject"];
|
||||
|
||||
tmpColumns
|
||||
= [NSArray arrayWithObjects: @"messageThreadColumn tbtv_headercell",
|
||||
@"invisibleHeader", @"Thread", nil];
|
||||
[columnsMetaData setObject: [NSDictionary dictionaryWithObjects: tmpColumns
|
||||
forKeys: tmpKeys]
|
||||
forKey: @"Thread"];
|
||||
|
||||
tmpColumns
|
||||
= [NSArray arrayWithObjects: @"messageFlagColumn tbtv_headercell",
|
||||
@@ -566,6 +573,16 @@
|
||||
|
||||
finalOrder = [columnsOrder mutableCopy];
|
||||
[finalOrder autorelease];
|
||||
|
||||
if (![ud mailSortByThreads])
|
||||
[finalOrder removeObject: @"Thread"];
|
||||
else
|
||||
{
|
||||
i = [finalOrder indexOfObject: @"Thread"];
|
||||
if (i == NSNotFound)
|
||||
[finalOrder insertObject: @"Thread" atIndex: 0];
|
||||
}
|
||||
|
||||
if ([self showToAddress])
|
||||
{
|
||||
i = [finalOrder indexOfObject: @"From"];
|
||||
|
||||
Reference in New Issue
Block a user