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

commits at source.squeak.org commits at source.squeak.org
Tue Dec 13 03:20:48 UTC 2011


David T. Lewis uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-cao.389.mcz

==================== 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