[squeak-dev] The Inbox: Tools-cao.389.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Dec 12 20:01:55 UTC 2011

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

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

Name: Tools-cao.389
Author: cao
Time: 12 December 2011, 3:01:52.448 pm
UUID: 1526fcaf-0439-4610-bcdd-b25255882c3b
Ancestors: Tools-cao.388

Fix for PackagePaneBrowser category selection bug.

When the user selected package foo and category
bar, the category was set to bar, but the actual category
is foo-bar.  This overrides Browser>>systemCategoryListIndex: with a method which prepends the package name.

=============== Diff against Tools-ul.387 ===============

Item was added:
+ ----- Method: PackagePaneBrowser>>systemCategoryListIndex: (in category 'system category list') -----
+ systemCategoryListIndex: anInteger 
+ 	"Set the selected system category index to be anInteger. Update all other 
+ 	selections to be deselected."
+ 	|unqualifiedCategory|
+ 	self selectSystemCategory: ((unqualifiedCategory :=
+ 									self systemCategoryList at: anInteger ifAbsent: [ nil ])
+ 			ifNotNil: [(package,'-',unqualifiedCategory) asSymbol]).!

More information about the Squeak-dev mailing list