[squeak-dev] The Inbox: Tools-fbs.326.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Mar 23 20:55:35 UTC 2011

A new version of Tools was added to project The Inbox:

==================== Summary ====================

Name: Tools-fbs.326
Author: fbs
Time: 23 March 2011, 8:54:45.605 pm
UUID: ecf73ea2-720d-ed43-87a6-a13a27e1337b
Ancestors: Tools-fbs.325

More adjustments: every place that sets messageListIndex must also set selectedMessageName, and we remove one access to messageListIndex.

=============== Diff against Tools-fbs.325 ===============

Item was changed:
  ----- Method: MessageSet>>selection (in category 'private') -----
  	"Answer the item in the list that is currently selected, or nil if no selection is present"
+ 	^ messageList at: (self messageListIndex) ifAbsent: [nil]!
- 	^ messageList at: messageListIndex ifAbsent: [nil]!

Item was changed:
  ----- Method: TimeProfileBrowser>>initializeMessageList: (in category 'private') -----
  initializeMessageList: anArray
  	messageList := anArray.
  	messageListIndex := 0.
+ 	selectedMessageName := nil.
  	contents := ''!

More information about the Squeak-dev mailing list