Since you need a specific behavior for your application you could mimic the
code here in #readServerUpdatesThrough: maxNumber saveLocally: saveLocally
updateImage: updateImage, without sending message to
...
UIManager default
chooseFrom: #('Stop looking' 'Try next server')
title:
....
Or maybe decouple it from the view, and integrate it into Pharo.
Fernando
On Sep 1, 2010, at 4:05 PM, Mariano Martinez Peck wrote:
>
>
> 2010/9/1 Cyrille Delaunay <[email protected]>
> Ok, thanks :)
> The problem now is that 'Utilities updateFromServer' open a window to inform
> the user, waiting for the user to click on ok. In my case, I want to use such
> a method to update the image from a script (for example launched from
> hudson). But this 'inform' window stop the execution of the script
>
>
> Once I incisted in putting DummyUIManager in core...I got it :)
> see
>
> http://code.google.com/p/pharo/issues/detail?id=2069
>
> not sure how to use it, thus.
>
> cheers
>
> Mariano
>
> 2010/9/1 Stéphane Ducasse <[email protected]>
>
> soon obsolete :)
> But for now ok :)
> soon UpdateStreamer new updateFromServer
> >
> > Hello,
> >
> > Is there a 'magic' command to programmatically update and load the last
> > version of a Pharo 1.2 core image?
> > ç
> >
> > Check Utilities updateFromServer
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [email protected]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [email protected]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> <ATT00001..txt>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project