[Pharo-project] MetacelloPharoPlatform>>#do:displaying:

Sven Van Caekenberghe sven at beta9.be
Tue Jun 26 07:33:49 EDT 2012

This was *very* annoying, getting a deprecation a million times when load a Metacello config.


should be using #current: instead of #value:

do: aBlock displaying: aString

	self bypassProgressBars ifTrue: [ ^super do: aBlock displaying: aString ].
		displayProgressAt: Sensor cursorPoint
		from: 0 to: 2
		during: [:bar |
			bar current: 1.
			aBlock value.
			bar current: 2 ]

(fileout attached).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: MetacelloPharoPlatform-dodisplaying.st
Type: application/octet-stream
Size: 441 bytes
Desc: not available
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120626/edce6e98/attachment.st>
-------------- next part --------------

I am not suret where this class lives or comes from.


Sven Van Caekenberghe
Smalltalk is the Red Pill

More information about the Pharo-dev mailing list