summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hig.py
diff options
context:
space:
mode:
authorBogdan Marinescu <bogdan.a.marinescu@intel.com>2012-09-26 16:59:57 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-27 16:45:26 +0100
commit7414ba713d2f701b7fcaae3bfc77479a1373d52f (patch)
treee5932b1d0d0d1b58502836a2291e3acfa67dbe48 /bitbake/lib/bb/ui/crumbs/hig.py
parent6fdff49d9b37a18221f8d5571f757e69b945e533 (diff)
downloadpoky-7414ba713d2f701b7fcaae3bfc77479a1373d52f.tar.gz
bitbake: Add sanity check progress screen
This patch adds a sanity check progress screen to hob. The screen is displayed when Hob executes the sanity check procedure. The screen is displayed for at least 5 seconds. If a network error is detected, a special dialog is displayed which lets the user open the proxy configuration page directly. Note that currently bitbake triggers the network tests only when the value of its TMPDIR variable changes, which happens fairly rare on my system. This is the subject of another bug (#3026). Version 2 of the patch splits the changes in two parts (sanity.bbclass belongs to oe-core). [YOCTO #3025] (Bitbake rev: b48f1351271cc066ffe919db112b14834a6d8f8f) Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hig.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hig.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py
index 778d84331c..f52510c552 100644
--- a/bitbake/lib/bb/ui/crumbs/hig.py
+++ b/bitbake/lib/bb/ui/crumbs/hig.py
@@ -270,6 +270,9 @@ class CrumbsMessageDialog(CrumbsDialog):
270# 270#
271class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper): 271class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper):
272 272
273 (BUILD_ENV_PAGE_ID,
274 PROXIES_PAGE_ID) = range(2)
275
273 def __init__(self, title, configuration, all_image_types, 276 def __init__(self, title, configuration, all_image_types,
274 all_package_formats, all_distros, all_sdk_machines, 277 all_package_formats, all_distros, all_sdk_machines,
275 max_threads, parent, flags, buttons=None): 278 max_threads, parent, flags, buttons=None):
@@ -624,6 +627,8 @@ class SimpleSettingsDialog (CrumbsDialog, SettingsUIHelper):
624 627
625 self.show_all() 628 self.show_all()
626 629
630 def switch_to_page(self, page_id):
631 self.nb.set_current_page(page_id)
627 632
628# 633#
629# AdvancedSettings Dialog 634# AdvancedSettings Dialog