From 9d3620fac8fd3f4b57cfac5fb7431416f63e2ea2 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Fri, 23 Mar 2012 15:37:09 +0800 Subject: Hob: Initial an empty label in recipeselectionpage.py When creating label in recipeselectionpage.py, the builder's configuration may not be ready yet, so create an empty label in initialization. (Bitbake rev: e4f22f6242f489afcadac67cc8dd282936b78586) Signed-off-by: Dongxiao Xu Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/crumbs/recipeselectionpage.py') diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index 881b2ecb55..ebdb7c152a 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py @@ -118,7 +118,7 @@ class RecipeSelectionPage (HobPage): self.create_visual_elements() def create_visual_elements(self): - self.label = gtk.Label("Recipes included: %s" % len(self.builder.configuration.selected_recipes)) + self.label = gtk.Label() self.eventbox = self.add_onto_top_bar(self.label, 73) self.pack_start(self.eventbox, expand=False, fill=False) self.pack_start(self.group_align, expand=True, fill=True) -- cgit v1.2.3-54-g00ecf