nested progress bars...
Robert Collins
robertc at robertcollins.net
Mon Mar 6 23:15:54 GMT 2006
so do we have consensus on the following?
* ui_factory.progress_bar is deprecated but continues to operate as it
does now giving a 'replace the current pb' progress bar to the client,
which does not stack and does not need to be returned to the ui factory.
* ui_factory.get_progress_bar() will produce a nested progress bar
which must be returned to the factory via pb.finished()
Nesting can be done by uis any way it wants: replacing the current pb,
having a spinner, having a two-level bar, having horizontal splits: the
client won't know.
alternatively we can do:
* ui_factory.progress_bar stays as is
* ui_factory.nested_progress_bar returns a nested bar which needs to be
returned via pb.finished(). This will not nest under a 'progress_bar()'
returned progress bar, only under another nested_progress_bar.
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: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060307/6f888a50/attachment.pgp
More information about the bazaar
mailing list