- Revision
- 11292
- Author
- john
- Date
- 2006-07-31 18:04:54 -0700 (Mon, 31 Jul 2006)
Log Message
Fix Bug#6294: Rename "My" collections to "Dashboard"
Modified Paths
Diff
Modified: trunk/chandler/application/Utility.py (11291 => 11292)
--- trunk/chandler/application/Utility.py 2006-08-01 00:12:49 UTC (rev 11291) +++ trunk/chandler/application/Utility.py 2006-08-01 01:04:54 UTC (rev 11292) @@ -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 = "227" #john: added dispatchEevent hook +SCHEMA_VERSION = "228" #john: Renamed "My" Collections to Dashboard logger = None # initialized in initLogging()
Modified: trunk/chandler/parcels/osaf/framework/scripting/User.py (11291 => 11292)
--- trunk/chandler/parcels/osaf/framework/scripting/User.py 2006-08-01 00:12:49 UTC (rev 11291) +++ trunk/chandler/parcels/osaf/framework/scripting/User.py 2006-08-01 01:04:54 UTC (rev 11292) @@ -268,8 +268,7 @@ xOffset=3 # find special collections by item because their names may - # change (i.e. "All" becomes "My Items" or "My Calendar - # Events" etc... + # change. see UserCollection's displayNameAlternatives pim_ns = schema.ns('osaf.pim', wx.GetApp().UIRepositoryView) chandler_collections = {"All":pim_ns.allCollection} if cellName in chandler_collections.keys():
Modified: trunk/chandler/parcels/osaf/pim/__init__.py (11291 => 11292)
--- trunk/chandler/parcels/osaf/pim/__init__.py 2006-08-01 00:12:49 UTC (rev 11291) +++ trunk/chandler/parcels/osaf/pim/__init__.py 2006-08-01 01:04:54 UTC (rev 11292) @@ -122,7 +122,7 @@ # the "All" / "My" collection allCollection = SmartCollection.update(parcel, 'allCollection', - displayName=_(u"My items"), + displayName=_(u"Dashboard"), source=nonRecurringNotes, exclusions=trashCollection, trash=None,
Modified: trunk/chandler/parcels/osaf/usercollections.py (11291 => 11292)
--- trunk/chandler/parcels/osaf/usercollections.py 2006-08-01 00:12:49 UTC (rev 11291) +++ trunk/chandler/parcels/osaf/usercollections.py 2006-08-01 01:04:54 UTC (rev 11292) @@ -108,12 +108,7 @@ allUC = UserCollection(pim_ns.allCollection) allUC.setValues(renameable=False, outOfTheBoxCollection=True, - allowOverlay = True, - displayNameAlternatives = \ - {'None': _(u'My items'), - 'MailMessageMixin': _(u'My mail'), - 'CalendarEventMixin': _(u'My calendar'), - 'TaskMixin': _(u'My tasks')}) + allowOverlay = True) allUC.ensureColor() trashUC = UserCollection(pim_ns.trashCollection)
_______________________________________________ Commits mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/commits
