(feat) UI for previous commit

This commit is contained in:
Ludovic Marcotte
2016-01-07 09:17:46 -05:00
parent 06cbe527e8
commit 36985a19e9
2 changed files with 16 additions and 0 deletions

View File

@@ -738,6 +738,16 @@ static NSArray *reminderValues = nil;
return [userDefaults mailShowSubscribedFoldersOnly];
}
- (void) setSynchronizeOnlyDefaultMailFolders: (BOOL) synchronizeOnlyDefaultMailFolders
{
[userDefaults setSynchronizeOnlyDefaultMailFolders: synchronizeOnlyDefaultMailFolders];
}
- (BOOL) synchronizeOnlyDefaultMailFolders
{
return [userDefaults synchronizeOnlyDefaultMailFolders];
}
- (void) setSortByThreads: (BOOL) sortByThreads
{
[userDefaults setMailSortByThreads: sortByThreads];

View File

@@ -343,6 +343,12 @@
var:checked="showSubscribedFoldersOnly" />
<var:string label:value="Show subscribed mailboxes only"/></dd>
<dt></dt>
<dd><input type="checkbox"
const:name="synchronizeOnlyDefaultFolders"
const:id="synchronizeOnlyDefaultFolders"
var:checked="synchronizeOnlyDefaultMailFolders" />
<var:string label:value="Synchronize only default mail folders (EAS)"/></dd>
<dt></dt>
<dd><input type="checkbox"
const:name="sortByThreads"
const:id="sortByThreads"