[MERGE] Keep the currently active widget for progress when finishing a progress bar.

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Jun 15 12:57:46 BST 2009


>>>>> "Jelmer" == Jelmer Vernooij <jelmer at samba.org> writes:

<snip/>

    Jelmer> There can very well be multiple progress tasks, there is no code in
    Jelmer> Bazaar to make sure that any top-level call spawns only a single task as
    Jelmer> far as I have seen.

I can't find code that directly create a progress.ProgressTask, hence
they are all created via UIFactory.nested_progress_bar().

Except for test purposes, all pb = nested_progress_bar() calls are
paired with a pb.finished() call (in a finally clause). I.e. even if
they are still called progress bar, they progress tasks, objects which
track progress locally in a function and in all called functions from
there, all called functions creating their local progress task.



More information about the bzr-gtk mailing list