summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-04-17 16:21:39 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-17 11:40:36 +0100
commitea37272ccc28d6e24b48286e5c4c3edbad1d57cd (patch)
tree68cb9f6108b7cf243becce228689967bd50e54d9 /lib
parent99f01305b4c2253567a1a13a33339b1755a86e6d (diff)
downloadbitbake-contrib-ea37272ccc28d6e24b48286e5c4c3edbad1d57cd.tar.gz
Hob: Set the "stop" button insensitive before hide it
If user stops a build, we need to firstly set the button insensitive and then hide it. This ensures the button's init status is "insensitive" in next build. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/bb/ui/crumbs/builddetailspage.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/ui/crumbs/builddetailspage.py b/lib/bb/ui/crumbs/builddetailspage.py
index 6d8b509e8..51e6a4a6d 100755
--- a/lib/bb/ui/crumbs/builddetailspage.py
+++ b/lib/bb/ui/crumbs/builddetailspage.py
@@ -238,6 +238,7 @@ class BuildDetailsPage (HobPage):
self.builder.stop_build()
def hide_stop_button(self):
+ self.stop_button.set_sensitive(False)
self.stop_button.hide()
def scroll_to_present_row(self, model, path, iter, v_adj, treeview):