[squeak-dev] The Inbox: Protocols-jmck.44.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Sep 5 23:59:51 UTC 2013

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

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

Name: Protocols-jmck.44
Author: jmck
Time: 5 September 2013, 7:59:50.198 pm
UUID: c4a851ef-6f9c-6f43-b0f4-b4ff12060089
Ancestors: Protocols-fbs.43

Vocabulary class>>typeChoices throws an error if Preferences>>allowEtoysUserCustomEvents is false
Mantis #7786

=============== Diff against Protocols-fbs.43 ===============

Item was changed:
  ----- Method: Vocabulary class>>typeChoices (in category 'type vocabularies') -----
  	"Answer a list of all user-choosable data types"
  	| aList |
  	(aList := self allStandardVocabularies
  			[:aVocab | aVocab representsAType]
  			[:aVocab | aVocab vocabularyName]).
+ 	Preferences allowEtoyUserCustomEvents ifFalse: [aList removeKey: #CustomEvents].
- 	Preferences allowEtoyUserCustomEvents ifFalse: [aList remove: #CustomEvents ifAbsent: []].
  	^ aList asSortedArray!

More information about the Squeak-dev mailing list