[squeak-dev] The Inbox: ST80-HenrikSperreJohansen.124.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jan 21 19:12:29 UTC 2011


A new version of ST80 was added to project The Inbox:
http://source.squeak.org/inbox/ST80-HenrikSperreJohansen.124.mcz

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

Name: ST80-HenrikSperreJohansen.124
Author: HenrikSperreJohansen
Time: 21 January 2011, 8:12:20.472 pm
UUID: 9f4cbd24-c2cc-ad40-ba46-a0544eeb2deb
Ancestors: ST80-nice.122

Update to use pragma-based sound preferences

=============== Diff against ST80-nice.122 ===============

Item was changed:
  ----- Method: ScreenController>>helpMenu (in category 'nested menus') -----
  helpMenu 
  	"Answer the help menu to be put up as a screen submenu"
  
  	^ SelectionMenu labelList:
  		#(
  			'about this system...'
  			'update code from server'
  			'preferences...'
  
  			'command-key help'
  			'font size summary'
  			'useful expressions'
  			'view graphical imports'
  			'standard graphics library'),
  
+ 			(Array with: (SoundService soundEnablingString)) ,
- 			(Array with: (Preferences soundsEnabled
- 							ifFalse: ['turn sound on']
- 							ifTrue: ['turn sound off'])) ,
  
  		#(	'set author initials...'
  			'vm statistics'
  			'space left')
  		lines: #(1 4 6 11)
  		selections: #( aboutThisSystem absorbUpdatesFromServer
  editPreferences  openCommandKeyHelp fontSizeSummary openStandardWorkspace viewImageImports
  standardGraphicsLibrary soundOnOrOff setAuthorInitials vmStatistics garbageCollect)
  "
  ScreenController new helpMenu startUp
  "!

Item was changed:
  ----- Method: ScreenController>>soundOnOrOff (in category 'menu messages') -----
  soundOnOrOff
+ 	SoundService toggleSoundEnabled!
- 	Preferences setPreference: #soundsEnabled
- 		toValue: Preferences soundsEnabled not!




More information about the Squeak-dev mailing list