nested progress bars...

Aaron Bentley aaron.bentley at utoronto.ca
Tue Mar 7 01:12:49 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
| 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()

I worry that a stack-based progress bar will wind up getting out of sync
with the program stack.  But I guess requiring it to be returned via
pb.finished will probably work, and allow us to warn if we miss a
finished() call.

The reason I wrote the TreeTransform one as I did was because I thought
progress bars should be off unless a client declared that it wanted them.

Aaron

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEDN4Q0F+nu1YWqI0RAhHQAJ4z2naC5WWWo5cP10QNA8X3zcVC+QCfU3mq
a5O3yiwPVtb4xjRyhNJ/e+w=
=CGdj
-----END PGP SIGNATURE-----




More information about the bazaar mailing list