diff options
| author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-04-17 16:21:39 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-17 11:41:31 +0100 |
| commit | 139a91d742ff00ec2be2bfbd9759101a250ebd23 (patch) | |
| tree | 8c13533cdad0462396c8edfb2e5f7985e6398d02 | |
| parent | c50d8b753d33318efba6b5a859efc220fb3d879a (diff) | |
| download | poky-139a91d742ff00ec2be2bfbd9759101a250ebd23.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.
(Bitbake rev: ea37272ccc28d6e24b48286e5c4c3edbad1d57cd)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builddetailspage.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builddetailspage.py b/bitbake/lib/bb/ui/crumbs/builddetailspage.py index 6d8b509e86..51e6a4a6d2 100755 --- a/bitbake/lib/bb/ui/crumbs/builddetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/builddetailspage.py | |||
| @@ -238,6 +238,7 @@ class BuildDetailsPage (HobPage): | |||
| 238 | self.builder.stop_build() | 238 | self.builder.stop_build() |
| 239 | 239 | ||
| 240 | def hide_stop_button(self): | 240 | def hide_stop_button(self): |
| 241 | self.stop_button.set_sensitive(False) | ||
| 241 | self.stop_button.hide() | 242 | self.stop_button.hide() |
| 242 | 243 | ||
| 243 | def scroll_to_present_row(self, model, path, iter, v_adj, treeview): | 244 | def scroll_to_present_row(self, model, path, iter, v_adj, treeview): |
