mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-18 13:13:31 +00:00
Add links to download one or all attachments
Also removed the contextual menu over file attachments and changed the label color when moving over the file attachments.
This commit is contained in:
+10
-10
@@ -163,6 +163,11 @@ static NSArray *infoKeys = nil;
|
||||
return item;
|
||||
}
|
||||
|
||||
- (NSString *) uid
|
||||
{
|
||||
return [[self clientObject] nameInContainer];
|
||||
}
|
||||
|
||||
- (NSArray *) priorityClasses
|
||||
{
|
||||
static NSArray *priorities = nil;
|
||||
@@ -382,16 +387,16 @@ static NSArray *infoKeys = nil;
|
||||
ASSIGN (attachment, newAttachment);
|
||||
}
|
||||
|
||||
- (NSFormatter *) sizeFormatter
|
||||
{
|
||||
return [UIxMailSizeFormatter sharedMailSizeFormatter];
|
||||
}
|
||||
|
||||
- (NSDictionary *) attachment
|
||||
{
|
||||
return attachment;
|
||||
}
|
||||
|
||||
- (NSFormatter *) sizeFormatter
|
||||
{
|
||||
return [UIxMailSizeFormatter sharedMailSizeFormatter];
|
||||
}
|
||||
|
||||
/* from addresses */
|
||||
|
||||
- (NSArray *) fromEMails
|
||||
@@ -672,11 +677,6 @@ static NSArray *infoKeys = nil;
|
||||
return [[self attachmentAttrs] count] > 0 ? YES : NO;
|
||||
}
|
||||
|
||||
- (NSString *) uid
|
||||
{
|
||||
return [[self clientObject] nameInContainer];
|
||||
}
|
||||
|
||||
- (id) defaultAction
|
||||
{
|
||||
SOGoDraftObject *co;
|
||||
|
||||
Reference in New Issue
Block a user