Bert Freudenberg uploaded a new version of System to project Etoys:
http://source.squeak.org/etoys/System-bf.63.mcz==================== 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') -----
deletePersistedPreferences
| 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]].!
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev