diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2012-10-25 16:43:44 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-27 09:52:06 +0100 |
commit | d964d04ff1f59a590bd3ab5430517d79e92536d0 (patch) | |
tree | 5c72eb1990768ad169216a32dfb50097df2a94a0 | |
parent | 165362a63f085991b6bab63ab90a0c7b9bf6b784 (diff) | |
download | bitbake-d964d04ff1f59a590bd3ab5430517d79e92536d0.tar.gz |
hob: during recipe parsing, progress bar text provides details about the process state
- indicating on progress bar that hob has gone from parsing
recipes to "Generating dependency tree"; this will provide
some visibility of what has caused the "stop" button state
to change
[YOCTO #3282]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | lib/bb/ui/crumbs/builder.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/bb/ui/crumbs/builder.py b/lib/bb/ui/crumbs/builder.py index 3c3d303cf..e5222da28 100755 --- a/lib/bb/ui/crumbs/builder.py +++ b/lib/bb/ui/crumbs/builder.py @@ -963,7 +963,10 @@ class Builder(gtk.Window): else: self.image_configuration_page.stop_button.set_sensitive(True) - self.image_configuration_page.update_progress_bar(message["title"], fraction) + if message["eventname"] == "TreeDataPreparationProgress": + self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction) + else: + self.image_configuration_page.update_progress_bar(message["title"], fraction) def handler_parsing_cb(self, handler, message): if self.current_step != self.RCPPKGINFO_POPULATING: @@ -974,7 +977,10 @@ class Builder(gtk.Window): fraction = 0.6 + 0.38 * fraction else: fraction = 0.6 * fraction - self.image_configuration_page.update_progress_bar(message["title"], fraction) + if message["eventname"] == "TreeDataPreparationProgress": + self.image_configuration_page.update_progress_bar("Generating dependency tree", fraction) + else: + self.image_configuration_page.update_progress_bar(message["title"], fraction) def handler_parsing_completed_cb(self, handler, message): if self.current_step != self.RCPPKGINFO_POPULATING: |