Title: [commits] (john) [11238] remove more displayNames
Revision
11238
Author
john
Date
2006-07-22 13:31:31 -0700 (Sat, 22 Jul 2006)

Log Message

remove more displayNames

Modified Paths

Diff

Modified: trunk/chandler/application/Utility.py (11237 => 11238)

--- trunk/chandler/application/Utility.py	2006-07-22 17:15:03 UTC (rev 11237)
+++ trunk/chandler/application/Utility.py	2006-07-22 20:31:31 UTC (rev 11238)
@@ -33,7 +33,7 @@
 # with your name (and some helpful text). The comment's really there just to
 # cause Subversion to warn you of a conflict when you update, in case someone 
 # else changes it at the same time you do (that's why it's on the same line).
-SCHEMA_VERSION = "225" #john: remove more displayNames
+SCHEMA_VERSION = "226" #john: remove more displayNames
 
 logger = None # initialized in initLogging()
 

Modified: trunk/chandler/parcels/osaf/framework/attributeEditors/AttributeEditors.py (11237 => 11238)

--- trunk/chandler/parcels/osaf/framework/attributeEditors/AttributeEditors.py	2006-07-22 17:15:03 UTC (rev 11237)
+++ trunk/chandler/parcels/osaf/framework/attributeEditors/AttributeEditors.py	2006-07-22 20:31:31 UTC (rev 11238)
@@ -1546,8 +1546,6 @@
             sampleText = item.getAttributeAspect(attributeName, 'redirectTo');
             if sampleText is None:
                 sampleText = attributeName
-            if item.hasAttributeAspect (sampleText, 'displayName'):
-                sampleText = item.getAttributeAspect (sampleText, 'displayName')                  
         return sampleText
 
     def HasValue(self, item, attributeName):

Modified: trunk/chandler/parcels/osaf/pim/items.py (11237 => 11238)

--- trunk/chandler/parcels/osaf/pim/items.py	2006-07-22 17:15:03 UTC (rev 11237)
+++ trunk/chandler/parcels/osaf/pim/items.py	2006-07-22 20:31:31 UTC (rev 11238)
@@ -87,7 +87,7 @@
      - a Contact -- 'Terry Smith'
      - a Task -- 'mail 1040 to IRS'
     """
-    displayName = schema.One(schema.Text, displayName=_(u"Title"), indexed=True)
+    displayName = schema.One(schema.Text, indexed=True)
     body = schema.One(
         schema.Text,
         displayName=_(u"Body"),




_______________________________________________
Commits mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/commits

Reply via email to