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:
Dongxiao Xu 2012-03-23 15:37:09 +08:00 committed by Richard Purdie
parent a18a724769
commit 9d3620fac8
1 changed files with 1 additions and 1 deletions

View File

@ -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)