Hello
This is a follow up post on the thread http://forum.world.st/Dropping-a-morph-gives-me-a-funny-menu-td4939787.html
You need to do FileServices unregisterFileReader: CornerGripMorph
to get only one 'Load as morph' button when you drop a *.morph file onto a desktop.
You then may verify this with the following test:
The attached morph BackToTheFuture.morph was exported from a Squeak 2.5 image (Aug 1999, see attachment and [1]) and then dropped into a recent Squeak6.0a image (attachment).
Besides a font problem which mostly causes trouble on page 3 it works well!
Regards
--Hannes
[1] The export in the Squeak 2.5 image was done as follows
1. Bring up the 'World' menu in the 'Play with me - 4' window. 2. Choose 'debug' 3. Choose 'explore world' 4. Click on the 'BookMorph' in the 'submorphs' collection 5. Choose 'Inspect' 6. Evaluate self saveOnFile
Morph saveOnFile uses a SmartRefStream http://wiki.squeak.org/squeak/614
P.S.
FileServices unregisterFileReader: CornerGripMorph
has not been commited to trunk yet. Probably good to do a comment on FileServices as the same time
Current comment:
A FileServices is xxxxxxxxx.
Instance Variables
Very nice! And agreed on the file services. Wonder how CornerGripMorph got in there?
- Bert -
On Thu, Mar 30, 2017 at 1:23 PM, H. Hirzel hannes.hirzel@gmail.com wrote:
Hello
This is a follow up post on the thread http://forum.world.st/Dropping-a-morph-gives-me-a- funny-menu-td4939787.html
You need to do FileServices unregisterFileReader: CornerGripMorph
to get only one 'Load as morph' button when you drop a *.morph file onto a desktop.
You then may verify this with the following test:
The attached morph BackToTheFuture.morph was exported from a Squeak 2.5 image (Aug 1999, see attachment and [1]) and then dropped into a recent Squeak6.0a image (attachment).
Besides a font problem which mostly causes trouble on page 3 it works well!
Regards
--Hannes
[1] The export in the Squeak 2.5 image was done as follows
- Bring up the 'World' menu in the 'Play with me - 4' window.
- Choose 'debug'
- Choose 'explore world'
- Click on the 'BookMorph' in the 'submorphs' collection
- Choose 'Inspect'
- Evaluate self saveOnFile
Morph saveOnFile uses a SmartRefStream http://wiki.squeak.org/squeak/614
P.S.
FileServices unregisterFileReader: CornerGripMorph
has not been commited to trunk yet. Probably good to do a comment on FileServices as the same time
Current comment:
A FileServices is xxxxxxxxx.
Instance Variables
squeak-dev@lists.squeakfoundation.org