Mantis - Squeak Packages
Viewing Issue Advanced Details
5384 MinimalMorphic feature always 11-08-06 22:27 11-14-06 21:34
edgardec  
Krivanek  
normal  
assigned  
open  
none    
none  
0005384: Having new preferences window from World menu
This is a very useful to have feature
Still some unsolved problems.
Can't import previous saved Preferences on normal Squeak.
Can't read Preferences.obj
I copy from a mail sended to Pavel
In Squeak3.9g-7061.image:

Type in a workspace:

Preferences inspectPreferences

In lower pane type :

self saveOnFile "I choose Preferences.obj as name"

In MinimalImage-7061b.image

Type in a workspace:

|inputStream anObject |
inputStream _ FileStream oldFileNamed: 'Preferences.obj'.
anObject _ inputStream fileInObjectAndCode.
inputStream close.

Preferences dictionaryOfPreferences: anObject
 ForHavingPreferencesBrowser.3.cs.gz [^] (11,072 bytes) 11-08-06 22:27
 ForHavingPreferencesBrowser.5.cs.gz [^] (14,548 bytes) 11-09-06 01:37
 NormalPrefs.obj [^] (5,526 bytes) 11-09-06 01:38

Notes
(0008119)
edgardec   
11-09-06 01:49   
With ForHavingPreferencesBrowser.5.cs.gz , I add all the missing classes for having a proper load of NormalPrefs.obj and no walkbacks when working with PreferencesBrowser.
Note what I should change:
UpdatingRectangleMorph
from category: 'EToys-Scripting Support'
to category: 'MorphicExtras-Etoy-Compatible'

For later better unload/load of EToys

(0008235)
Krivanek   
11-14-06 21:34   
we need:
- add Preferences class >> preferenceObjectsInCategory:
- initialize viewRegistries, something like
    Preference allInstances do: [:pref | pref viewRegistry: ... ]
    - then we will not need NormalPrefs.obj for basic functionality
- create Monticello package