[squeak-dev] The Trunk: Monticello-kb.456.mcz

commits at source.squeak.org commits at source.squeak.org
Mon Apr 18 15:34:44 UTC 2011


Balázs Kósi uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-kb.456.mcz

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

Name: Monticello-kb.456
Author: kb
Time: 18 April 2011, 5:21:13.868 pm
UUID: 5b8af1ce-d091-8f45-b95f-4c16e9374b35
Ancestors: Monticello-nice.455

Remove Morphic/MVC dependencies from ProgressInitiationException.

=============== Diff against Monticello-nice.455 ===============

Item was changed:
  ----- Method: MCHttpRepository>>displayProgress:during: (in category 'required') -----
  displayProgress: label during: workBlock
  	| nextUpdateTime |
  	nextUpdateTime := 0.
+ 	^label displayProgressAt: Display center
- 	^UIManager default displayProgress: label at: Display center
  		from: 0.0 to: 1.0 during:[:bar|
  			[workBlock value] on: HTTPProgress do:[:ex|
  				(ex total == nil or:[ex amount == nil]) ifFalse:[
  					(nextUpdateTime < Time millisecondClockValue 
  						or:[ex total = ex amount]) ifTrue:[
  							bar value: ex amount asFloat / ex total asFloat.
  							nextUpdateTime := Time millisecondClockValue + 100.
  					].
  				].
  				ex resume.
  			]
  		].
  !




More information about the Squeak-dev mailing list