[Pkg] The Trunk: PreferenceBrowser-ul.78.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Feb 27 01:24:03 UTC 2017

Levente Uzonyi uploaded a new version of PreferenceBrowser to project The Trunk:

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

Name: PreferenceBrowser-ul.78
Author: ul
Time: 27 February 2017, 2:24:00.374446 am
UUID: 6df2ac5f-5167-4801-acd3-487c683716ee
Ancestors: PreferenceBrowser-mt.77

- omit ifAbsent from #index* sends when the default value, 0 would used

=============== Diff against PreferenceBrowser-mt.77 ===============

Item was changed:
  ----- Method: PreferenceBrowser>>selectedCategory: (in category 'accessing') -----
  selectedCategory: aCategorySymbol
+ 	self selectedCategoryIndex: (self categoryList indexOf: aCategorySymbol).!
- 	self selectedCategoryIndex: (self categoryList indexOf: aCategorySymbol ifAbsent: [0]).!

Item was changed:
  ----- Method: PreferenceBrowser>>selectedPreferenceIndex (in category 'accessing') -----
+ 	^self selectedCategoryPreferences indexOf: self selectedPreference!
- 	^self selectedCategoryPreferences indexOf: self selectedPreference ifAbsent: [0]!

More information about the Packages mailing list