ui factory - what should it do?
Robert Collins
robertc at robertcollins.net
Wed Feb 22 03:55:16 GMT 2006
On Wed, 2006-02-22 at 14:53 +1100, Martin Pool wrote:
> On Tue, 2006-02-21 at 17:05 -0800, Robey Pointer wrote:
>
> > The code I posted last week used a single pbar object, on which
> > callers could push and pop state. Debouncing is trivial that way.
> > We could also use weakref to do an automatic pop when a child pbar is
> > collected (though I may be jumping ahead here).
>
> Probably better to just have code use a try/finally block in the scope
> where the progressbar is created.
What about progress bars in objects?
I.e. Fetcher.
I suppose we need to ensure theres a very clear 'active lifetime' for
such things so that a finally can be written.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060222/13b63462/attachment.pgp
More information about the bazaar
mailing list