mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 13:27:15 +00:00
Fixed bug #1105 Remote images display
There now is a configurable default in mail preferences where you can set remote images to display either Never or Always.
This commit is contained in:
1 parent
21ee23e7df
commit
a916ac8927
7 files changed
+55
-4
No files matched your search
@@ -759,6 +759,28 @@
|
||||
[userDefaults setMailComposeMessageType: newType];
|
||||
}
|
||||
|
||||
/* Display remote inline images */
|
||||
- (NSArray *) displayRemoteInlineImages
|
||||
{
|
||||
return [NSArray arrayWithObjects: @"never", @"always", nil];
|
||||
}
|
||||
|
||||
- (NSString *) itemDisplayRemoteInlineImagesText
|
||||
{
|
||||
return [self labelForKey: [NSString stringWithFormat:
|
||||
@"displayremoteinlineimages_%@", item]];
|
||||
}
|
||||
|
||||
- (NSString *) userDisplayRemoteInlineImages
|
||||
{
|
||||
return [userDefaults mailDisplayRemoteInlineImages];
|
||||
}
|
||||
|
||||
- (void) setUserDisplayRemoteInlineImages: (NSString *) newType
|
||||
{
|
||||
[userDefaults setMailDisplayRemoteInlineImages: newType];
|
||||
}
|
||||
|
||||
/* mail autoreply (vacation) */
|
||||
|
||||
- (BOOL) isSieveScriptsEnabled
|
||||
|
||||
Reference in new issue
Block a user