diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builddetailspage.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py index aee258a6fc..982166aed6 100755 --- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py | |||
@@ -133,6 +133,7 @@ class BuildDetailsPage (HobPage): | |||
133 | self.progress_hbox.pack_start(self.progress_bar, expand=True, fill=True) | 133 | self.progress_hbox.pack_start(self.progress_bar, expand=True, fill=True) |
134 | self.stop_button = HobAltButton("Stop") | 134 | self.stop_button = HobAltButton("Stop") |
135 | self.stop_button.connect("clicked", self.stop_button_clicked_cb) | 135 | self.stop_button.connect("clicked", self.stop_button_clicked_cb) |
136 | self.stop_button.set_sensitive(False) | ||
136 | self.progress_hbox.pack_end(self.stop_button, expand=False, fill=False) | 137 | self.progress_hbox.pack_end(self.stop_button, expand=False, fill=False) |
137 | 138 | ||
138 | self.notebook = HobNotebook() | 139 | self.notebook = HobNotebook() |
@@ -169,6 +170,7 @@ class BuildDetailsPage (HobPage): | |||
169 | recipe = os.path.basename(recipe_path).rstrip(".bb") | 170 | recipe = os.path.basename(recipe_path).rstrip(".bb") |
170 | tsk_msg = "<b>Running task %s of %s:</b> %s\n<b>Recipe:</b> %s" % (current, total, recipe_task, recipe) | 171 | tsk_msg = "<b>Running task %s of %s:</b> %s\n<b>Recipe:</b> %s" % (current, total, recipe_task, recipe) |
171 | self.task_status.set_markup(tsk_msg) | 172 | self.task_status.set_markup(tsk_msg) |
173 | self.stop_button.set_sensitive(True) | ||
172 | 174 | ||
173 | def reset_build_status(self): | 175 | def reset_build_status(self): |
174 | self.task_status.set_markup("\n") # to ensure layout is correct | 176 | self.task_status.set_markup("\n") # to ensure layout is correct |