[etoys-dev] Etoys: System-bf.63.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jun 24 13:16:47 EDT 2012

Bert Freudenberg uploaded a new version of System to project Etoys:

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

Name: System-bf.63
Author: bf
Time: 24 June 2012, 7:16:08 pm
UUID: c60a8cd9-64d7-4c08-a053-2af73ac05817
Ancestors: System-bf.62

Change Set:		preffix-kks
Date:			20 October 2010
Author:			kks

SQ-869: recover gracefully if persistent prefs don't exist

=============== Diff against System-bf.62 ===============

Item was changed:
  ----- Method: Preferences class>>deletePersistedPreferences (in category 'persistence') -----
  	| d files |
  	self ensurePersistedPreferencesAccessible
  		ifFalse: [^self].
+ 	d := ExternalSettings preferenceDirectory ifNil: [^self].
- 	d := ExternalSettings preferenceDirectory.
  	files := d fileNamesMatching: '*', self persistedFileNameExtension.
+ 	files size = 0 ifTrue: [^self].
  	(self confirm: ('This will remove {1} stored preferences.
  Are you sure?' translated format: {files size}))
  		ifTrue: [files do: [:f | d deleteFileNamed: f]].!

More information about the etoys-dev mailing list