[Vm-dev] [commit][2901] Add a script to create a trunk VMMaker image derived from Squeak 4.5.

Tobias Pape Das.Linux at gmx.de
Tue Apr 22 21:22:48 UTC 2014


Hi Eliot

On 22.04.2014, at 23:12, Eliot Miranda <eliot.miranda at gmail.com> wrote:

> Hi Tobias,
> 
> 
> On Tue, Apr 22, 2014 at 1:55 PM, Tobias Pape <Das.Linux at gmx.de> wrote:
>  
> Hey
> On 22.04.2014, at 22:25, commits at squeakvm.org wrote:
> 
> > +"Change the defaut update URL to that for trunk, then install a DummyUIManager
> > + to avoid the post-update OK box, then update, the restore the UIManager."
> > +| uim |
> > +uim := Project current uiManager.
> > +[Project current instVarNamed: 'uiManager' put: DummyUIManager new.
> > + MCMcmUpdater
> > +     defaultUpdateURL: 'http://source.squeak.org/trunk';
> > +     updateFromServer]
> > +     ensure: [Project current instVarNamed: 'uiManager' put: uim].
> 
> what about just
> 
> [MCMcmUpdater
>         defaultUpdateURL: 'http://source.squeak.org/trunk';
>         updateFromServer
> ] valueSupplyingAnswer: {true}
> ?
> 
> When I try this:
> 
>     [UIManager inform: 'foo!'] valueSupplyingAnswer: #('true') 
> 
> I still see the OK confirmer pop up and I still have to click it to dismiss it.  Should it work?  Is this a bug in 4.5?


I mistyped my thing. Stealing your example, this works:

	[UIManager inform: 'foo!'] valueSupplyingAnswer: true

Best
	-Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1625 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140422/7db6eaaf/signature.pgp


More information about the Vm-dev mailing list