[squeak-dev] The Trunk: Morphic-laza.209.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 9 13:23:42 UTC 2009


Alexander Lazarević uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-laza.209.mcz

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

Name: Morphic-laza.209
Author: laza
Time: 9 October 2009, 3:22:49 am
UUID: c8f72563-e1f9-fc45-86cc-e8aa4bcdb2b9
Ancestors: Morphic-laza.208

Remove the in transition initialization again

=============== Diff against Morphic-laza.208 ===============

Item was changed:
  ----- Method: SystemProgressMorph>>recenter (in category 'private') -----
  recenter
  	| position |
- 	self class initialize.
  	"Put ourself in the center of the display"
  	self align: self fullBounds center with: Display boundingBox center.
  	"Check to see if labels are wider than progress bars. In that case do
  	a centered instead of the default left aligned layout."
  	position :=	self width > (Inset x * 2 + (self borderWidth * 2) + BarWidth)
  					ifTrue: [#topCenter]
  					ifFalse: [#leftCenter].
  	self cellPositioning: position!

Item was changed:
  ----- Method: SystemProgressMorph>>freeSlot: (in category 'private') -----
  freeSlot: number
  	number > 0 ifTrue: [
  		lock critical: [
  			(bars at: number) delete.
  			(labels at: number) delete.
  			activeSlots := activeSlots - 1.
  			activeSlots = 0
+ 				ifTrue: [self delete]
- 				ifTrue: [self delete. 	self class initialize]
  				ifFalse: [self recenter]]]!




More information about the Squeak-dev mailing list