[squeak-dev] [BUG?]SMSimpleInstaller>>fileIntoChangeSetNamed:fromStream:

Trygve Reenskaug trygver at ifi.uio.no
Mon Jan 12 10:09:04 UTC 2015


SMSimpleInstaller>>fileIntoChangeSetNamed: aString fromStream: stream
     "We let the user confirm filing into an existing ChangeSet
     or specify another ChangeSet name if
     the name derived from the filename already exists."
     | changeSet newName oldChanges global |
     newName := aString.
     changeSet := SMInstaller changeSetNamed: newName.
     changeSet ifNotNil: [
         newName := self silent ifNil: [UIManager default
                                     request: 'ChangeSet already 
present, just confirm to overwrite or enter a new name:'
                                     initialAnswer: newName]
                         ifNotNil: [newName].
     ++++++

AFAICS, 'self silent' cannot return nil, it always returns a boolan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150112/ee81a427/attachment.htm


More information about the Squeak-dev mailing list