[FIX][BUG][3.4a][SMLoader] DNU for #specsForFolderSelector
Brent Vukmer
bvukmer at blackboard.com
Tue Nov 12 22:11:18 UTC 2002
Fix attached for bug I just announced. Woo-ha, my first changeset
posted to the list!
-------------- next part --------------
'From Squeak3.4alpha of ''11 November 2002'' [latest update: #5105] on 12 November 2002 at 5:01:39 pm'!
"Change Set: FileList2-morphicViewFolderSelector-bkv
Date: 12 November 2002
Author: Brent Vukmer
For 3.4a images. This is a tiny fix to allow FileList2>>morphicViewSelector to function correctly ( which in turn enables the SMLoader menu option ""set download directory"" to function correctly ).
"!
!FileList2 class methodsFor: 'morphic ui' stamp: 'bkv 11/12/2002 16:55'!
morphicViewFolderSelector: aDir
| aFileList window fixedSize |
aFileList _ self new directory: aDir.
aFileList optionalButtonSpecs: aFileList servicesForFolderSelector.
window _ (SystemWindow labelled: aDir pathName) model: aFileList.
aFileList modalView: window.
fixedSize _ 25.
self addFullPanesTo: window from: {
{self textRow: 'Please select a folder'. 0 @ 0 corner: 1 @ 0.
0 at 0 corner: 0 at fixedSize}.
{aFileList optionalButtonRow. 0 @ 0 corner: 1 @ 0.
0 at fixedSize corner: 0@(fixedSize * 2)}.
{aFileList morphicDirectoryTreePane. 0 at 0 corner: 1 at 1.
0@(fixedSize * 2) corner: 0 at 0}.
}.
aFileList postOpen.
^ window ! !
More information about the Squeak-dev
mailing list
|