[squeak-dev] The Inbox: Morphic-fbs.682.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Sep 12 12:41:37 UTC 2013


A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-fbs.682.mcz

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

Name: Morphic-fbs.682
Author: fbs
Time: 12 September 2013, 1:35:02.168 pm
UUID: a746b084-0287-4798-be1d-73c1770d7b02
Ancestors: Morphic-cmm.681

Only set the current project's background if we're creating a new one.

=============== Diff against Morphic-cmm.681 ===============

Item was changed:
  ----- Method: MorphicProject class>>initialize (in category 'class initialization') -----
  initialize	"MorphicProject initialize"
  	"Initialize the default Morphic Project background"
  	self defaultFill: (InfiniteForm with: self defaultBackgroundForm).
  	CurrentProject ifNil:
  		["This is the Top Project."
  		CurrentProject := super new initialProject.
+ 		CurrentProject world color: self defaultFill.
  		CurrentProject spawnNewProcessAndTerminateOld: true].
+ 	self convertOldProjects.!
- 	self convertOldProjects.
- 	Project current isMorphic ifTrue:[
- 		"Set the default background in the current world"
- 		Project current world color: self defaultFill.
- 	].
- !



More information about the Squeak-dev mailing list