put command fixed V1.30

TANGUAY, LUC luc.tanguay at bell.ca
Tue Feb 3 02:30:08 UTC 1998


Fixed a problem in V1.30 when "putting" a file back to disk from the
file list browser.  Don't  know if it was documented but here's the fix:
StandardFileStream class>>newFileNamed:

The last statement,

   selection = 2 ifTrue:
	[^ self newFileNamed:
	   (FillInTheBlank request: 'Enter a new file name'
	      initialAnswer: (FileDirectory localNameFor: aFileName))].

must be changed to,

   selection = 2 ifTrue:
	[^ self newFileNamed:
		(FillInTheBlank request: 'Enter a new file name'
					initialAnswer: aFileName)].


So, when aFileName contains a full pathname, it is displayed as such in
the FillInTheBlank box.  The user can edit it.

-- 
Luc Tanguay, ing.
Bell Canada
Recherche et génie logiciel/Software Engineering & Research
2265 Roland-Therrien #226
Longueuil (Québec) J4N 1C5, Canada
Tél/phone: (514) 448-6319
mailto:Luc.Tanguay at bell.ca





More information about the Squeak-dev mailing list