mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-20 06:03:20 +00:00
Added signature/reply placement options
Monotone-Parent: c465e35fc5f42324c08780dae83f7d225dca6e6a Monotone-Revision: 1d1c945ea058db7070c9b83c4c2bb60689c52f92 Monotone-Author: crobert@inverse.ca Monotone-Date: 2008-09-28T19:49:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -513,6 +513,50 @@ static BOOL shouldDisplayAdditionalPreferences = NO;
|
||||
[user saveMailAccounts];
|
||||
}
|
||||
|
||||
/* Modification */
|
||||
- (NSArray *) replyPlacementList
|
||||
{
|
||||
return [NSArray arrayWithObjects: @"above", @"below", nil];
|
||||
}
|
||||
|
||||
- (NSString *) itemReplyPlacementText
|
||||
{
|
||||
return [self labelForKey:
|
||||
[NSString stringWithFormat: @"replyplacement_%@", item]];
|
||||
}
|
||||
|
||||
- (NSString *) userReplyPlacement
|
||||
{
|
||||
return [user replyPlacement];
|
||||
}
|
||||
|
||||
- (void) setUserReplyPlacement: (NSString *) newReplyPlacement
|
||||
{
|
||||
[userDefaults setObject: newReplyPlacement forKey: @"ReplyPlacement"];
|
||||
}
|
||||
|
||||
- (NSArray *) signaturePlacementList
|
||||
{
|
||||
return [NSArray arrayWithObjects: @"above", @"below", nil];
|
||||
}
|
||||
|
||||
- (NSString *) itemSignaturePlacementText
|
||||
{
|
||||
return [self labelForKey:
|
||||
[NSString stringWithFormat: @"signatureplacement_%@", item]];
|
||||
}
|
||||
|
||||
- (NSString *) userSignaturePlacement
|
||||
{
|
||||
return [user signaturePlacement];
|
||||
}
|
||||
|
||||
- (void) setUserSignaturePlacement: (NSString *) newSignaturePlacement
|
||||
{
|
||||
[userDefaults setObject: newSignaturePlacement forKey: @"SignaturePlacement"];
|
||||
}
|
||||
/* Fin */
|
||||
|
||||
- (id <WOActionResults>) defaultAction
|
||||
{
|
||||
id <WOActionResults> results;
|
||||
|
||||
Reference in New Issue
Block a user