FileSelectionBrowser.st
changeset 1492 de23c1b76333
parent 1458 72a40564b16e
child 1597 b670ad8c30e1
equal deleted inserted replaced
1491:4249a6a1b252 1492:de23c1b76333
   514     currentDir := self selectionOfDirectory value.
   514     currentDir := self selectionOfDirectory value.
   515     currentDir isNil ifTrue:[
   515     currentDir isNil ifTrue:[
   516         self warn:'No directory selected.'.
   516         self warn:'No directory selected.'.
   517         ^ self
   517         ^ self
   518     ].
   518     ].
   519     newSubDirName := Dialog request:'Create new directory named:'.
   519     newSubDirName := Dialog 
       
   520                         request:(resources 
       
   521                                     string:'Create new directory named:\\in %1:' 
       
   522                                     with:(currentDir asFilename pathName)) withCRs.
   520     (currentDir asFilename construct:newSubDirName) makeDirectory.
   523     (currentDir asFilename construct:newSubDirName) makeDirectory.
   521     self menuUpdate
   524     self menuUpdate
   522 !
   525 !
   523 
   526 
   524 menuGotoDefaultDirectory
   527 menuGotoDefaultDirectory