[Commits] (donn) Implemented "New" menu items for Content Items

commits at osafoundation.org commits at osafoundation.org
Wed Aug 11 19:22:27 PDT 2004


Commit by: donn
Modified files:
chandler/parcels/osaf/views/main/Main.py 1.28 1.29
chandler/parcels/osaf/views/main/parcel.xml 1.87 1.88
chandler/parcels/osaf/contentmodel/ContentModel.py 1.24 1.25
chandler/parcels/osaf/contentmodel/Notes.py 1.3 1.4
chandler/parcels/osaf/contentmodel/parcel.xml 1.51 1.52
chandler/parcels/osaf/contentmodel/calendar/Calendar.py 1.18 1.19
chandler/parcels/osaf/contentmodel/mail/Mail.py 1.11 1.12
chandler/parcels/osaf/contentmodel/mail/parcel.xml 1.38 1.39
chandler/parcels/osaf/contentmodel/tasks/Task.py 1.5 1.6
chandler/parcels/osaf/framework/blocks/Block.py 1.59 1.60
chandler/parcels/osaf/framework/blocks/ControlBlocks.py 1.99 1.100
chandler/parcels/osaf/views/content/parcel.xml 1.58 1.59

Log message:
Implemented "New" menu items for Content Items
   * Created InitOutgoingAttributes() method on Content Items to initialize attributes on outgoing items
   * Fixed bug 1716 so In and Out boxes show any kind of Mail item
   * Fixed bug 1734 so the New button in the toolbar now makes a Note

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/main/Main.py.diff?r1=text&tr1=1.28&r2=text&tr2=1.29
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/main/parcel.xml.diff?r1=text&tr1=1.87&r2=text&tr2=1.88
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/ContentModel.py.diff?r1=text&tr1=1.24&r2=text&tr2=1.25
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/Notes.py.diff?r1=text&tr1=1.3&r2=text&tr2=1.4
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/parcel.xml.diff?r1=text&tr1=1.51&r2=text&tr2=1.52
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/calendar/Calendar.py.diff?r1=text&tr1=1.18&r2=text&tr2=1.19
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/mail/Mail.py.diff?r1=text&tr1=1.11&r2=text&tr2=1.12
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/mail/parcel.xml.diff?r1=text&tr1=1.38&r2=text&tr2=1.39
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/contentmodel/tasks/Task.py.diff?r1=text&tr1=1.5&r2=text&tr2=1.6
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/Block.py.diff?r1=text&tr1=1.59&r2=text&tr2=1.60
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/framework/blocks/ControlBlocks.py.diff?r1=text&tr1=1.99&r2=text&tr2=1.100
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/content/parcel.xml.diff?r1=text&tr1=1.58&r2=text&tr2=1.59

Index: chandler/parcels/osaf/contentmodel/Notes.py
diff -u chandler/parcels/osaf/contentmodel/Notes.py:1.3 chandler/parcels/osaf/contentmodel/Notes.py:1.4
--- chandler/parcels/osaf/contentmodel/Notes.py:1.3	Mon Jul 12 15:26:07 2004
+++ chandler/parcels/osaf/contentmodel/Notes.py	Wed Aug 11 19:22:22 2004
@@ -1,9 +1,9 @@
 """ Classes used for Notes parcel kinds
 """
 
-__revision__  = "$Revision: 1.3 $"
-__date__      = "$Date: 2004/07/12 22:26:07 $"
-__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
+__revision__  = "$Revision: 1.4 $"
+__date__      = "$Date: 2004/08/12 02:22:22 $"
+__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
 import application
@@ -17,6 +17,18 @@
             kind = ContentModel.ContentModel.getNoteKind()
         super (Note, self).__init__(name, parent, kind)
 
+    def InitOutgoingAttributes (self):
+        """ Init any attributes on ourself that are appropriate for
+        a new outgoing item.
+        """
+        try:
+            super(Note, self).InitOutgoingAttributes ()
+        except AttributeError:
+            pass
+
+        self.processingStatus = 'processing'
+
+    
 class Conversation(ContentModel.ContentItem):
     def __init__(self, name=None, parent=None, kind=None):
         if not kind:

Index: chandler/parcels/osaf/contentmodel/ContentModel.py
diff -u chandler/parcels/osaf/contentmodel/ContentModel.py:1.24 chandler/parcels/osaf/contentmodel/ContentModel.py:1.25
--- chandler/parcels/osaf/contentmodel/ContentModel.py:1.24	Wed Aug 11 06:33:12 2004
+++ chandler/parcels/osaf/contentmodel/ContentModel.py	Wed Aug 11 19:22:22 2004
@@ -1,15 +1,16 @@
 """ Classes used for contentmodel parcel and kinds.
 """
 
-__revision__  = "$Revision: 1.24 $"
-__date__      = "$Date: 2004/08/11 13:33:12 $"
-__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
+__revision__  = "$Revision: 1.25 $"
+__date__      = "$Date: 2004/08/12 02:22:22 $"
+__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
 from application.Parcel import Parcel
 import repository.item.Item as Item
 import repository.item.Query as Query
 import repository.persistence.XMLRepositoryView as XMLRepositoryView
+from mx import DateTime
 import logging
 
 import application.Globals as Globals
@@ -164,6 +165,19 @@
             kind = ContentModel.getContentItemKind()
         super (ContentItem, self).__init__(name, parent, kind)
 
+    def InitOutgoingAttributes (self):
+        """ Init any attributes on ourself that are appropriate for
+        a new outgoing item.
+        """
+        try:
+            super(ContentItem, self).InitOutgoingAttributes ()
+        except AttributeError:
+            pass
+
+        self.importance = 'normal'
+        self.createdOn = DateTime.now()
+
+
     def StampKind(self, operation, mixinKind):
         """
           Stamp ourself into the new kind defined by the

Index: chandler/parcels/osaf/contentmodel/tasks/Task.py
diff -u chandler/parcels/osaf/contentmodel/tasks/Task.py:1.5 chandler/parcels/osaf/contentmodel/tasks/Task.py:1.6
--- chandler/parcels/osaf/contentmodel/tasks/Task.py:1.5	Sat Jul 17 12:26:47 2004
+++ chandler/parcels/osaf/contentmodel/tasks/Task.py	Wed Aug 11 19:22:24 2004
@@ -2,9 +2,9 @@
 """ Class used for Items of Kind Task
 """
 
-__revision__  = "$Revision: 1.5 $"
-__date__      = "$Date: 2004/07/17 19:26:47 $"
-__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
+__revision__  = "$Revision: 1.6 $"
+__date__      = "$Date: 2004/08/12 02:22:24 $"
+__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
 import application
@@ -50,7 +50,20 @@
     We only instantiate these Items when we "unstamp" an
     Item, to save the attributes for later "restamping".
     """
-    pass
+    def InitOutgoingAttributes (self):
+        """ Init any attributes on ourself that are appropriate for
+        a new outgoing item.
+        """
+        try:
+            super(TaskMixin, self).InitOutgoingAttributes ()
+        except AttributeError:
+            pass
+
+        # default status is To Do
+        self.taskStatus = 'todo'
+
+        # default due date is 7 days hence
+        self.dueDate = DateTime.now() + DateTime.DateTimeDelta(7)
 
 class Task(Notes.Note, TaskMixin):
     def __init__(self, name=None, parent=None, kind=None):

Index: chandler/parcels/osaf/views/content/parcel.xml
diff -u chandler/parcels/osaf/views/content/parcel.xml:1.58 chandler/parcels/osaf/views/content/parcel.xml:1.59
--- chandler/parcels/osaf/views/content/parcel.xml:1.58	Wed Aug 11 06:33:14 2004
+++ chandler/parcels/osaf/views/content/parcel.xml	Wed Aug 11 19:22:25 2004
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.58 $ -->
-<!-- $Date: 2004/08/11 13:33:14 $ -->
+<!-- $Revision: 1.59 $ -->
+<!-- $Date: 2004/08/12 02:22:25 $ -->
 <!-- Copyright (c) 2004 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -70,7 +70,6 @@
   </contentModel:NamedCollection>
 
   <contentModel:Query itsName="mixedQuery">
-    <data itemref="calendarModel:CalendarEvent"/>
     <data itemref="contentModel:Note"/>
     <data itemref="contactsModel:Contact"/>
   </contentModel:Query>
@@ -94,7 +93,7 @@
   </contentModel:NamedCollection>
 
   <contentModel:Query itsName="inQuery">
-    <data itemref="mailModel:MailMessage"/>
+    <data itemref="mailModel:MailMessageMixin"/>
   </contentModel:Query>
 
   <contentModel:NamedCollection itsName="inItemCollection">
@@ -103,7 +102,7 @@
   </contentModel:NamedCollection>
 
   <contentModel:Query itsName="outQuery">
-    <data itemref="mailModel:MailMessage"/>
+    <data itemref="mailModel:MailMessageMixin"/>
   </contentModel:Query>
 
   <contentModel:NamedCollection itsName="outItemCollection">

Index: chandler/parcels/osaf/views/main/Main.py
diff -u chandler/parcels/osaf/views/main/Main.py:1.28 chandler/parcels/osaf/views/main/Main.py:1.29
--- chandler/parcels/osaf/views/main/Main.py:1.28	Wed Aug 11 13:00:08 2004
+++ chandler/parcels/osaf/views/main/Main.py	Wed Aug 11 19:22:22 2004
@@ -1,5 +1,5 @@
-__version__ = "$Revision: 1.28 $"
-__date__ = "$Date: 2004/08/11 20:00:08 $"
+__version__ = "$Revision: 1.29 $"
+__date__ = "$Date: 2004/08/12 02:22:22 $"
 __copyright__ = "Copyright (c) 2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
@@ -8,7 +8,6 @@
 from osaf.framework.notifications.Notification import Notification
 import wx
 import os
-from mx import DateTime
 import application.Application
 import osaf.contentmodel.mail.Mail as Mail
 from application.SplashScreen import SplashScreen
@@ -17,6 +16,7 @@
 import osaf.framework.utils.imports.OutlookContacts as OutlookContacts
 import osaf.contentmodel.tests.GenerateItems as GenerateItems
 from repository.persistence.RepositoryError import VersionConflictError
+import repository.util.UUID as UUID
 
 class MainView(View):
     """
@@ -111,21 +111,12 @@
         account = accountList[0]
         IMAPDownloader (account).getMail()
 
-    def NewItemName (cls):
-        """
-        Return a unique name of a new item
-        """
-        itemNumber = MainView.AnonymousItemNumber
-        MainView.AnonymousItemNumber += 1
-        return "Anonymous" + str (itemNumber)
-    NewItemName = classmethod (NewItemName)
-    AnonymousItemNumber = 1
-
     def onNewEvent (self, notification):
-        # create a new mail message
+        # create a new content item
         event = notification.event
-        newMessage = event.kindParameter.newItem (self.NewItemName(), self)
-        newMessage.date = DateTime.now()
+        itemName = 'Anonymous'+str(UUID.UUID())
+        newItem = event.kindParameter.newItem (itemName, self)
+        newItem.InitOutgoingAttributes ()
         Globals.repository.commit()
 
         # lookup our selectionChangedEvents
@@ -142,7 +133,7 @@
 
         # Tell the ActiveView to select our new item
         args = {}
-        args['item'] = newMessage
+        args['item'] = newItem
         self.Post(activeViewSelectionChanged, args)
 
     def onNewEventUpdateUI (self, notification):
@@ -179,6 +170,7 @@
 
     def onReloadParcelsEvent(self, notification):
         ParcelManager.getManager().loadParcels()
+        self.rerender ()
 
     def onCommitRepositoryEvent(self, notification):
         Globals.repository.commit()

Index: chandler/parcels/osaf/contentmodel/mail/Mail.py
diff -u chandler/parcels/osaf/contentmodel/mail/Mail.py:1.11 chandler/parcels/osaf/contentmodel/mail/Mail.py:1.12
--- chandler/parcels/osaf/contentmodel/mail/Mail.py:1.11	Sat Jul 17 12:26:46 2004
+++ chandler/parcels/osaf/contentmodel/mail/Mail.py	Wed Aug 11 19:22:23 2004
@@ -1,9 +1,9 @@
 """ Classes used for Mail parcel kinds
 """
 
-__revision__  = "$Revision: 1.11 $"
-__date__      = "$Date: 2004/07/17 19:26:46 $"
-__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
+__revision__  = "$Revision: 1.12 $"
+__date__      = "$Date: 2004/08/12 02:22:23 $"
+__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
 import application
@@ -79,7 +79,17 @@
     We only instantiate these Items when we "unstamp" an
     Item, to save the attributes for later "restamping".
     """
-    pass
+    def InitOutgoingAttributes (self):
+        """ Init any attributes on ourself that are appropriate for
+        a new outgoing item.
+        """
+        try:
+            super(MailMessageMixin, self).InitOutgoingAttributes ()
+        except AttributeError:
+            pass
+
+        # Need to init a bunch more attributes here
+        self.attachments = []
 
 class MailMessage(Notes.Note, MailMessageMixin):
     def __init__(self, name=None, parent=None, kind=None):

Index: chandler/parcels/osaf/framework/blocks/ControlBlocks.py
diff -u chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.99 chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.100
--- chandler/parcels/osaf/framework/blocks/ControlBlocks.py:1.99	Wed Aug 11 19:16:12 2004
+++ chandler/parcels/osaf/framework/blocks/ControlBlocks.py	Wed Aug 11 19:22:24 2004
@@ -1,6 +1,6 @@
-__version__ = "$Revision: 1.99 $"
-__date__ = "$Date: 2004/08/12 02:16:12 $"
-__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
+__version__ = "$Revision: 1.100 $"
+__date__ = "$Date: 2004/08/12 02:22:24 $"
+__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
 import os

Index: chandler/parcels/osaf/views/main/parcel.xml
diff -u chandler/parcels/osaf/views/main/parcel.xml:1.87 chandler/parcels/osaf/views/main/parcel.xml:1.88
--- chandler/parcels/osaf/views/main/parcel.xml:1.87	Wed Aug 11 06:33:15 2004
+++ chandler/parcels/osaf/views/main/parcel.xml	Wed Aug 11 19:22:22 2004
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.87 $ -->
-<!-- $Date: 2004/08/11 13:33:15 $ -->
+<!-- $Revision: 1.88 $ -->
+<!-- $Date: 2004/08/12 02:22:22 $ -->
 <!-- Copyright (c) 2003 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -16,7 +16,10 @@
              xmlns:content="http://osafoundation.org/parcels/osaf/views/content"
              xmlns:contentModel="http://osafoundation.org/parcels/osaf/contentmodel"
              xmlns:mail="http://osafoundation.org/parcels/osaf/contentmodel/mail"
+             xmlns:tasks="http://osafoundation.org/parcels/osaf/contentmodel/tasks"
              xmlns:calendar="http://osafoundation.org/parcels/osaf/framework/blocks/calendar"
+             xmlns:calendarModel="http://osafoundation.org/parcels/osaf/contentmodel/calendar"
+             xmlns:contacts="http://osafoundation.org/parcels/osaf/contentmodel/contacts"
              xmlns:stockQuote="http://osafoundation.org/parcels/osaf/examples/stockquote/views">
 
   <core:version>0.3</core:version>
@@ -68,6 +71,34 @@
     <dispatchToBlock itemref="doc:MainView"/>
   </KindParameterizedEvent>
 
+  <KindParameterizedEvent itemName="NewTask">
+    <kindParameter itemref="tasks:Task"/>
+    <dispatchEnum>SendToBlock</dispatchEnum>
+    <methodName>onNewEvent</methodName>
+    <dispatchToBlock itemref="doc:MainView"/>
+  </KindParameterizedEvent>
+
+  <KindParameterizedEvent itemName="NewCalendarEvent">
+    <kindParameter itemref="calendarModel:CalendarEvent"/>
+    <dispatchEnum>SendToBlock</dispatchEnum>
+    <methodName>onNewEvent</methodName>
+    <dispatchToBlock itemref="doc:MainView"/>
+  </KindParameterizedEvent>
+
+  <KindParameterizedEvent itemName="NewNote">
+    <kindParameter itemref="contentModel:Note"/>
+    <dispatchEnum>SendToBlock</dispatchEnum>
+    <methodName>onNewEvent</methodName>
+    <dispatchToBlock itemref="doc:MainView"/>
+  </KindParameterizedEvent>
+
+  <KindParameterizedEvent itemName="NewContact">
+    <kindParameter itemref="contacts:Contact"/>
+    <dispatchEnum>SendToBlock</dispatchEnum>
+    <methodName>onNewEvent</methodName>
+    <dispatchToBlock itemref="doc:MainView"/>
+  </KindParameterizedEvent>
+
   <BlockEvent itemName="Reply">
     <dispatchEnum>SendToBlock</dispatchEnum>
     <methodName>navbarReply</methodName>
@@ -340,7 +371,7 @@
     <blockName>NewTabItem</blockName>
     <title>Note</title>
     <helpString>Create a new Note</helpString>
-    <event itemref="events:NULL"/>
+    <event itemref="doc:NewNote"/>
   </MenuItem>
   
   <MenuItem itsName="NewMessageItem">
@@ -354,14 +385,14 @@
     <blockName>NewTaskItem</blockName>
     <title>Task</title>
     <helpString>Create a new Task</helpString>
-    <event itemref="events:NULL"/>
+    <event itemref="doc:NewTask"/>
   </MenuItem>
   
   <MenuItem itsName="NewEventItem">
     <blockName>NewEventItem</blockName>
     <title>Event</title>
     <helpString>Create a new Event</helpString>
-    <event itemref="events:NULL"/>
+    <event itemref="doc:NewCalendarEvent"/>
   </MenuItem>
   
   <MenuItem itsName="NewSeparator1">
@@ -373,7 +404,7 @@
     <blockName>NewContactItem</blockName>
     <title>Contact</title>
     <helpString>Create a new Contact</helpString>
-    <event itemref="events:NULL"/>
+    <event itemref="doc:NewContact"/>
   </MenuItem>
 
   <MenuItem itsName="NewGenericCollectionItem">
@@ -1203,7 +1234,7 @@
     <bitmap>application/images/new.png</bitmap>
     <toolbarItemKind>Button</toolbarItemKind>
     <helpString>Create a new Item</helpString>
-    <event itemref="doc:NewMailMessage"/>
+    <event itemref="doc:NewNote"/>
   </ToolbarItem>
 
   <ToolbarItem itsName="ReplyButton">
@@ -1444,6 +1475,10 @@
     <subscribeWhenVisibleEvents itemref="doc:AddMailTableView"/>
     <subscribeWhenVisibleEvents itemref="doc:AddKindViews"/>
     <subscribeWhenVisibleEvents itemref="doc:NewMailMessage"/>
+    <subscribeWhenVisibleEvents itemref="doc:NewTask"/>
+    <subscribeWhenVisibleEvents itemref="doc:NewCalendarEvent"/>
+    <subscribeWhenVisibleEvents itemref="doc:NewNote"/>
+    <subscribeWhenVisibleEvents itemref="doc:NewContact"/>
 
     <!-- Attributes -->
     <orientationEnum>Vertical</orientationEnum>

Index: chandler/parcels/osaf/framework/blocks/Block.py
diff -u chandler/parcels/osaf/framework/blocks/Block.py:1.59 chandler/parcels/osaf/framework/blocks/Block.py:1.60
--- chandler/parcels/osaf/framework/blocks/Block.py:1.59	Wed Aug 11 19:16:12 2004
+++ chandler/parcels/osaf/framework/blocks/Block.py	Wed Aug 11 19:22:24 2004
@@ -1,6 +1,6 @@
-__version__ = "$Revision: 1.59 $"
-__date__ = "$Date: 2004/08/12 02:16:12 $"
-__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
+__version__ = "$Revision: 1.60 $"
+__date__ = "$Date: 2004/08/12 02:22:24 $"
+__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__ = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
 import application.Globals as Globals

Index: chandler/parcels/osaf/contentmodel/parcel.xml
diff -u chandler/parcels/osaf/contentmodel/parcel.xml:1.51 chandler/parcels/osaf/contentmodel/parcel.xml:1.52
--- chandler/parcels/osaf/contentmodel/parcel.xml:1.51	Wed Aug 11 06:33:12 2004
+++ chandler/parcels/osaf/contentmodel/parcel.xml	Wed Aug 11 19:22:22 2004
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
 <!-- Parcel manifest for Pim Schema -->
-<!-- $Revision: 1.51 $ -->
-<!-- $Date: 2004/08/11 13:33:12 $ -->
-<!-- Copyright (c) 2003 Open Source Applications Foundation -->
+<!-- $Revision: 1.52 $ -->
+<!-- $Date: 2004/08/12 02:22:22 $ -->
+<!-- Copyright (c) 2003-2004 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
 <core:Parcel describes="//parcels/osaf/contentmodel"

Index: chandler/parcels/osaf/contentmodel/calendar/Calendar.py
diff -u chandler/parcels/osaf/contentmodel/calendar/Calendar.py:1.18 chandler/parcels/osaf/contentmodel/calendar/Calendar.py:1.19
--- chandler/parcels/osaf/contentmodel/calendar/Calendar.py:1.18	Sat Jul 17 12:26:46 2004
+++ chandler/parcels/osaf/contentmodel/calendar/Calendar.py	Wed Aug 11 19:22:23 2004
@@ -1,9 +1,9 @@
 """ Classes used for Calendar parcel kinds
 """
 
-__revision__  = "$Revision: 1.18 $"
-__date__      = "$Date: 2004/07/17 19:26:46 $"
-__copyright__ = "Copyright (c) 2003 Open Source Applications Foundation"
+__revision__  = "$Revision: 1.19 $"
+__date__      = "$Date: 2004/08/12 02:22:23 $"
+__copyright__ = "Copyright (c) 2003-2004 Open Source Applications Foundation"
 __license__   = "http://osafoundation.org/Chandler_0.1_license_terms.htm"
 
 import application.Globals as Globals

Index: chandler/parcels/osaf/contentmodel/mail/parcel.xml
diff -u chandler/parcels/osaf/contentmodel/mail/parcel.xml:1.38 chandler/parcels/osaf/contentmodel/mail/parcel.xml:1.39
--- chandler/parcels/osaf/contentmodel/mail/parcel.xml:1.38	Tue Aug  3 09:58:57 2004
+++ chandler/parcels/osaf/contentmodel/mail/parcel.xml	Wed Aug 11 19:22:23 2004
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.38 $ -->
-<!-- $Date: 2004/08/03 16:58:57 $ -->
+<!-- $Revision: 1.39 $ -->
+<!-- $Date: 2004/08/12 02:22:23 $ -->
 <!-- Copyright (c) 2003 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -374,7 +374,6 @@
     <attributes itemref="mail:attachments"/>
     <attributes itemref="mail:characterEncoding"/>
     <attributes itemref="mail:hasBeenRead"/>
-    <attributes itemref="content:importance"/>
     <attributes itemref="mail:downloadAccount"/>
     <attributes itemref="mail:serverStatus"/>
     <attributes itemref="mail:deliveryStatus"/>



More information about the Commits mailing list