summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-03-23 15:37:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-25 12:23:30 +0100
commit9d3620fac8fd3f4b57cfac5fb7431416f63e2ea2 (patch)
tree6955206f90da60493c6581374a69b1078dc5e9a0 /bitbake/lib/bb
parenta18a7247698653663264ce28082205a4f7305294 (diff)
downloadpoky-9d3620fac8fd3f4b57cfac5fb7431416f63e2ea2.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/recipeselectionpage.py2
1 files changed, 1 insertions, 1 deletions
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):
118 self.create_visual_elements() 118 self.create_visual_elements()
119 119
120 def create_visual_elements(self): 120 def create_visual_elements(self):
121 self.label = gtk.Label("Recipes included: %s" % len(self.builder.configuration.selected_recipes)) 121 self.label = gtk.Label()
122 self.eventbox = self.add_onto_top_bar(self.label, 73) 122 self.eventbox = self.add_onto_top_bar(self.label, 73)
123 self.pack_start(self.eventbox, expand=False, fill=False) 123 self.pack_start(self.eventbox, expand=False, fill=False)
124 self.pack_start(self.group_align, expand=True, fill=True) 124 self.pack_start(self.group_align, expand=True, fill=True)