[squeak-dev] New Trunk Image: 10548

Stéphane Rollandin lecteur at zogotounga.net
Wed Sep 22 07:47:44 UTC 2010


> Grab it here: http://ftp.squeak.org/trunk/Squeak4.2-10548-alpha.zip
> Brave and noble souls will download it on various platforms, run the
> tests, and generally make sure the image is good.

Stumbled right away on a bug: fix attached
(variables theOne, left at nil, seems a leftover from a previous 
implementation)

best,

Stef
-------------- next part --------------
'From Squeak4.2alpha of 22 September 2010 [latest update: #10548] on 22 September 2010 at 9:44:44 am'!

!DefaultExternalDropHandler methodsFor: 'event handling' stamp: 'spfa 9/22/2010 09:44'!
handle: dropStream in: pasteUp dropEvent: anEvent 
	"the file was just droped, let's do our job"
	| fileName services chosen |
	fileName := dropStream name.
	services := self servicesForFileNamed: fileName.

	"no service, default behavior"
	services isEmpty 
		ifTrue: [^UIManager default edit: dropStream contentsOfEntireFile].

	chosen := self chooseServiceFrom: services.
	chosen ifNotNil:[chosen performServiceFor: dropStream]! !


More information about the Squeak-dev mailing list