[Pkg] The Trunk: Morphic-eem.470.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 22 19:17:08 UTC 2010


Eliot Miranda uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-eem.470.mcz

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

Name: Morphic-eem.470
Author: eem
Time: 22 October 2010, 12:16:18.075 pm
UUID: 3b9ccd6e-2c8a-428b-8bfc-469bad77e4ff
Ancestors: Morphic-tfel.469

Fix window opening via openInWorld:extent: to position windows
on screen.  Old code used initialExtent, not actual extent.

=============== Diff against Morphic-tfel.469 ===============

Item was changed:
  ----- Method: SystemWindow>>openInWorld:extent: (in category 'open/close') -----
  openInWorld: aWorld extent: extent
  	"This msg and its callees result in the window being activeOnlyOnTop"
  	^ self anyOpenWindowLikeMe
  		ifEmpty:
  			[ self 
+ 				position: (RealEstateAgent initialFrameFor: self initialExtent: extent world: aWorld) topLeft ;
- 				position: (RealEstateAgent initialFrameFor: self world: aWorld) topLeft ;
  				extent: extent.
  			self openAsIsIn: aWorld ]
  		ifNotEmptyDo:
  			[ : windows | 
  			windows anyOne
  				expand ;
  				activate ; 
  				postAcceptBrowseFor: self ]!



More information about the Packages mailing list