[CalendarServer-changes] [7888] CalendarServer/branches/users/glyph/imip-and-admin-html/ twistedcaldav/mail.py

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 11 21:37:54 PDT 2011


Revision: 7888
          http://trac.macosforge.org/projects/calendarserver/changeset/7888
Author:   glyph at apple.com
Date:     2011-08-11 21:37:54 -0700 (Thu, 11 Aug 2011)
Log Message:
-----------
set iconName earlier on

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py

Modified: CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py	2011-08-12 04:37:42 UTC (rev 7887)
+++ CalendarServer/branches/users/glyph/imip-and-admin-html/twistedcaldav/mail.py	2011-08-12 04:37:54 UTC (rev 7888)
@@ -1256,6 +1256,8 @@
             'summary' : details['summary']
         }
 
+        details['iconName'] = iconName = "calicon.png"
+
         details.update(labels)
 
         with translationTo(language):
@@ -1297,8 +1299,6 @@
             msgHtmlRelated = MIMEMultipart("related", type="text/html")
             msgAlt.attach(msgHtmlRelated)
 
-            details['iconName'] = iconName = "calicon.png"
-
             addIcon, htmlText = self.renderHTML(
                 details, (orgCN, orgEmail), attendees, canceled
             )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110811/63452d47/attachment.html>


More information about the calendarserver-changes mailing list