diff options
author | Cristiana Voicu <cristiana.voicu@intel.com> | 2012-11-20 14:37:46 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-25 21:36:44 +0000 |
commit | f26d3e8d5f735c7439bed234d0eb030215cded98 (patch) | |
tree | 95f81a5f99d055fed82cb41b30eb21d7ea00c9d2 /bitbake/lib/bb/ui/crumbs/hobwidget.py | |
parent | 7cbc3cf64bf68138fbbbb8bcae76ecd22d583c98 (diff) | |
download | poky-f26d3e8d5f735c7439bed234d0eb030215cded98.tar.gz |
bitbake: hob: showing when build fails because out of disk space
-to enable this in hob, first you have to enable this in bitbake using
BB_DISKMON_DIRS and/or BB_DISKMON_WARNINTERVAL vars
-created "restart the build" action on the build_fail_top_bar
[YOCTO #3357]
(Bitbake rev: 964ac25d153ff4da144963289a32066db0e28b89)
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobwidget.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobwidget.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobwidget.py b/bitbake/lib/bb/ui/crumbs/hobwidget.py index 65de9df78f..3ca9066227 100644 --- a/bitbake/lib/bb/ui/crumbs/hobwidget.py +++ b/bitbake/lib/bb/ui/crumbs/hobwidget.py | |||
@@ -521,7 +521,8 @@ class HobNotebook(gtk.Notebook): | |||
521 | for child in self.pages: | 521 | for child in self.pages: |
522 | if child.lbl.get_label() == title: | 522 | if child.lbl.get_label() == title: |
523 | child.grab_focus() | 523 | child.grab_focus() |
524 | self.set_current_page(self.page_num(child)) | 524 | self.set_current_page(self.pages.index(child)) |
525 | return | ||
525 | 526 | ||
526 | class HobWarpCellRendererText(gtk.CellRendererText): | 527 | class HobWarpCellRendererText(gtk.CellRendererText): |
527 | def __init__(self, col_number): | 528 | def __init__(self, col_number): |