[squeak-dev] The Trunk: Morphic-bf.636.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 23 22:00:10 UTC 2013


Bert Freudenberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-bf.636.mcz

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

Name: Morphic-bf.636
Author: bf
Time: 23 January 2013, 1:58:11.174 pm
UUID: ffbf71b0-35bb-4c6f-9791-1e8db4409efc
Ancestors: Morphic-bf.635, Morphic-kb.619

Merge Morphic-kb.619: 
- a fix to avoid DockingBarMorph holding onto windows

=============== Diff against Morphic-bf.635 ===============

Item was added:
+ ----- Method: DockingBarUpdatingMenuMorph>>delete (in category 'as yet unclassified') -----
+ delete
+ 
+ 	owner ifNotNil: [ 
+ 		" When deleted remove my menu items, so I can avoid holding unwanted references to other objects. They will be updated anyway when I become visible again. "
+ 		" The owner notNil condition is necessary because MenuItemMorph >> select: sends delete before I become visible, but after the menu items are updated. "
+ 		self removeAllMorphs ].
+ 	super delete!

Item was removed:
- ----- Method: DockingBarUpdatingMenuMorph>>outOfWorld: (in category 'as yet unclassified') -----
- outOfWorld: aWorld
- 	"Forget references held in menu items. It will be rebuild anyways."
- 	aWorld ifNotNil: [self removeAllMorphs].
- !



More information about the Squeak-dev mailing list