diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-23 15:37:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-25 12:23:30 +0100 |
commit | 9d3620fac8fd3f4b57cfac5fb7431416f63e2ea2 (patch) | |
tree | 6955206f90da60493c6581374a69b1078dc5e9a0 /bitbake/lib/bb/ui | |
parent | a18a7247698653663264ce28082205a4f7305294 (diff) | |
download | poky-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/ui')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 2 |
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) |