mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 20:38:50 +00:00
Monotone-Parent: 7673d0874bfab0e145fb002673765af736eb602a
Monotone-Revision: ac841eb2b94bbfe80bea0191f70da349cc60a700 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-12-17T20:24:07 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
02111-1307, USA.
|
||||
*/
|
||||
|
||||
#import <SoObjects/Mailer/SOGoMailBodyPart.h>
|
||||
|
||||
#import "UIxMailPartViewer.h"
|
||||
|
||||
@interface UIxMailPartImageViewer : UIxMailPartViewer
|
||||
@@ -29,26 +31,4 @@
|
||||
|
||||
@implementation UIxMailPartImageViewer
|
||||
|
||||
/* URLs */
|
||||
|
||||
- (NSString *) pathToImage
|
||||
{
|
||||
NSMutableString *url;
|
||||
NSString *s;
|
||||
|
||||
s = [[self clientObject] baseURLInContext: [self context]];
|
||||
url = [NSMutableString stringWithString: s];
|
||||
if (![url hasSuffix: @"/"])
|
||||
[url appendString: @"/"];
|
||||
|
||||
s = [[self partPath] componentsJoinedByString:@"/"];
|
||||
[url appendString: s];
|
||||
|
||||
s = [self preferredPathExtension];
|
||||
if (s)
|
||||
[url appendFormat: @".%@", s];
|
||||
|
||||
return url;
|
||||
}
|
||||
|
||||
@end /* UIxMailPartImageViewer */
|
||||
|
||||
Reference in New Issue
Block a user