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 <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a18a724769
commit
9d3620fac8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue