Monotone-Parent: 130245b7479c6dceb4d9ebbf839fbab430101735

Monotone-Revision: 25d90ddcd05eb7c341bcb5f66062d03818381a34

Monotone-Author: crobert@inverse.ca
Monotone-Date: 2009-07-09T15:44:46
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
C Robert 2009-07-09 15:44:46 +00:00
parent 4cfe7e417c
commit 345e4279b1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-07-09 Cyril Robert <crobert@inverse.ca>
* UI/MailPartViewers/UIxMailRenderingContext.m: Display .tiff as
attachments, some browsers don't support tiff.
2009-07-07 Francis Lachapelle <flachapelle@inverse.ca>
* UI/Scheduler/UIxComponentEditor.m ([UIxComponentEditor

View File

@ -247,7 +247,8 @@ static BOOL showNamedTextAttachmentsInline = NO;
return [self iCalViewer];
}
if ([mt isEqualToString:@"image"])
// Tiffs aren't well-supported
if ([mt isEqualToString:@"image"] && ![st isEqualToString: @"tiff"])
{
if ([self _shouldDisplayAsAttachment: _info])
return [self linkViewer];