From b62a6e9f7f6a8821111f3c85354e86c80a3bb6da Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 17 Dec 2007 20:45:48 +0000 Subject: [PATCH] Monotone-Parent: 2ddf3577ff0d5f52e3f3dda10dce5e8c94f2421b Monotone-Revision: aca422868e377bcf123be4fcaa0a258238b473a6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-12-17T20:45:48 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ UI/MailerUI/UIxMailEditor.m | 6 ++--- UI/Templates/MailerUI/UIxMailEditor.wox | 30 ++++++++++++------------- 3 files changed, 22 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9591f937b..2e2565e93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-12-17 Wolfgang Sourdeau + * UI/MailerUI/UIxMailEditor.m ([UIxMailEditor -attachmentNames]): + initialize "attachmentNames" if it was NOT initialized... I think + this was a typo. + * SoObjects/Mailer/SOGoDraftObject.m ([SOGoDraftObject -fetchMailForForwarding:sourceMail]): append the signature to mails forwarded as attachment. diff --git a/UI/MailerUI/UIxMailEditor.m b/UI/MailerUI/UIxMailEditor.m index c9c41dc2c..fd45643ca 100644 --- a/UI/MailerUI/UIxMailEditor.m +++ b/UI/MailerUI/UIxMailEditor.m @@ -396,11 +396,11 @@ static NSArray *infoKeys = nil; { NSArray *a; - if (attachmentNames) + if (!attachmentNames) { a = [[self clientObject] fetchAttachmentNames]; - a = [a sortedArrayUsingSelector: @selector (compare:)]; - attachmentNames = [a copy]; + ASSIGN (attachmentNames, + [a sortedArrayUsingSelector: @selector (compare:)]); } return attachmentNames; diff --git a/UI/Templates/MailerUI/UIxMailEditor.wox b/UI/Templates/MailerUI/UIxMailEditor.wox index 4609c7b9c..abda2830b 100644 --- a/UI/Templates/MailerUI/UIxMailEditor.wox +++ b/UI/Templates/MailerUI/UIxMailEditor.wox @@ -23,15 +23,15 @@
-
- -
    -
  • -
-
+
+ +
    +
  • +
+
: : -
-
+ +