From b0331de4edcbac8eca1726715b3f2dcb3be94b08 Mon Sep 17 00:00:00 2001 From: Cristiana Voicu Date: Mon, 3 Sep 2012 14:22:04 +0300 Subject: [PATCH] bitbake: hob/imagedetailspage: "Image ready" icon appers only after the image was generated Now, "Your image is ready" icon doesn't appear when you come back on Imagedetails page. It appears only after the image was generated. [YOCTO #2984] (Bitbake rev: de29bfc163471e4959483493a5e5b26f8a2cf8a0) Signed-off-by: Cristiana Voicu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/imagedetailspage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py index c1a309d..1c4c597 100755 --- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py +++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py @@ -183,7 +183,7 @@ class ImageDetailsPage (HobPage): self.pack_start(self.group_align, expand=True, fill=True) self.build_result = None - if self.build_succeeded: + if self.build_succeeded and self.builder.current_step == self.builder.IMAGE_GENERATING: # building is the previous step icon = gtk.Image() pixmap_path = hic.ICON_INDI_CONFIRM_FILE -- 2.7.4