diff options
author | Shane Wang <shane.wang@intel.com> | 2012-04-02 23:22:40 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-05 14:00:27 +0100 |
commit | d2402f6c8ed7c194fe883f53fbf0c8cbec40ecb5 (patch) | |
tree | d9260a8da0bdbd9b9e23027f5305c7739a4f73d6 /bitbake/lib/bb | |
parent | 3d594b7749e12804d038c9b2aa633d3439a04328 (diff) | |
download | poky-d2402f6c8ed7c194fe883f53fbf0c8cbec40ecb5.tar.gz |
Hob: reset issue indication and build status before build starts on build details screen
(Bitbake rev: 5fed953105fd58f09e42dce233aab2c6eced7c37)
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builddetailspage.py | 3 | ||||
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py index 982166aed6..cd4413b18c 100755 --- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py | |||
@@ -216,6 +216,9 @@ class BuildDetailsPage (HobPage): | |||
216 | self.show_all() | 216 | self.show_all() |
217 | self.back_button.hide() | 217 | self.back_button.hide() |
218 | 218 | ||
219 | self.reset_build_status() | ||
220 | self.reset_issues() | ||
221 | |||
219 | def update_progress_bar(self, title, fraction, status=None): | 222 | def update_progress_bar(self, title, fraction, status=None): |
220 | self.progress_bar.update(fraction) | 223 | self.progress_bar.update(fraction) |
221 | self.progress_bar.set_title(title) | 224 | self.progress_bar.set_title(title) |
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 9c2dd167cb..df9a1558e5 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -619,8 +619,6 @@ class Builder(gtk.Window): | |||
619 | elif self.current_step == self.PACKAGE_GENERATING: | 619 | elif self.current_step == self.PACKAGE_GENERATING: |
620 | fraction = 0 | 620 | fraction = 0 |
621 | self.build_details_page.update_progress_bar("Build Started: ", fraction) | 621 | self.build_details_page.update_progress_bar("Build Started: ", fraction) |
622 | self.build_details_page.reset_build_status() | ||
623 | self.build_details_page.reset_issues() | ||
624 | self.build_details_page.show_configurations(self.configuration, self.parameters) | 622 | self.build_details_page.show_configurations(self.configuration, self.parameters) |
625 | 623 | ||
626 | def build_succeeded(self): | 624 | def build_succeeded(self): |