From 97476404c4eeb4ece8319206c7bd26cb609bc202 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 8 Nov 2007 20:25:59 +0000 Subject: [PATCH] Monotone-Parent: 1f46dbc903f7ca9ba9cc8ce7548e8dcc424e109e Monotone-Revision: d45b9825eb29bcbb89f32b7326fed4cd3b64ca00 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-08T20:25:59 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/MailerUI/UIxMailListView.m | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fddc5fa7c..ed2a6bd67 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-11-08 Wolfgang Sourdeau + * UI/MailerUI/UIxMailListView.m ([UIxMailListView + -hasMessageAttachment]): consider an attachment any content that + has a non-nil disposition. + * SoObjects/SOGo/SOGoParentFolder.m ([SOGoParentFolder -newFolderWithName:nameandNameInContainer:newNameInContainer]): fixed method to make use of the parameters instead of the useless diff --git a/UI/MailerUI/UIxMailListView.m b/UI/MailerUI/UIxMailListView.m index ed4d74f41..13cf5fc47 100644 --- a/UI/MailerUI/UIxMailListView.m +++ b/UI/MailerUI/UIxMailListView.m @@ -221,8 +221,7 @@ = [[parts objectsForKey: @"disposition"] objectEnumerator]; while (!hasAttachment && (currentDisp = [dispositions nextObject])) - hasAttachment = ([[currentDisp objectForKey: @"type"] - isEqualToString: @"ATTACHMENT"]); + hasAttachment = ([currentDisp objectForKey: @"type"]); } return hasAttachment;