From 55cdbd516d0fd4ec7b3649e9d8a00cc2444c147e Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Thu, 25 Oct 2012 16:43:44 +0300 Subject: bitbake: 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] (Bitbake rev: d964d04ff1f59a590bd3ab5430517d79e92536d0) Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/builder.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/bb/ui/crumbs/builder.py') diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 3c3d303cf6..e5222da285 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/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: -- cgit v1.2.3-54-g00ecf