diff options
author | Shane Wang <shane.wang@intel.com> | 2012-02-29 22:15:09 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-01 15:51:32 +0000 |
commit | 5090837991af49732857dffaa596b7bdb9418e80 (patch) | |
tree | 2a39a2783d0809b91e2b2ca79e83a5dc01cdee72 /bitbake | |
parent | 69317f70e9d68b10d11b2c2c22edcaede0c5166b (diff) | |
download | poky-5090837991af49732857dffaa596b7bdb9418e80.tar.gz |
Hob: enable indicators on the "Included" tab in the recipe selection page and the package selection page
(Bitbake rev: 504d480b208cacad7a5595312890f49fe19b80be)
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/packageselectionpage.py | 1 | ||||
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py index a3c4acdc14..a8628ac4aa 100755 --- a/bitbake/lib/bb/ui/crumbs/packageselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/packageselectionpage.py | |||
@@ -193,6 +193,7 @@ class PackageSelectionPage (HobPage): | |||
193 | 193 | ||
194 | self.label.set_text("Packages included: %s\nSelected packages size: %s\nTotal image size: %s" % | 194 | self.label.set_text("Packages included: %s\nSelected packages size: %s\nTotal image size: %s" % |
195 | (selected_packages_num, selected_packages_size_str, image_total_size_str)) | 195 | (selected_packages_num, selected_packages_size_str, image_total_size_str)) |
196 | self.ins.show_indicator_icon("Included", selected_packages_num) | ||
196 | 197 | ||
197 | """ | 198 | """ |
198 | Helper function to convert the package size to string format. | 199 | Helper function to convert the package size to string format. |
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index ee36f8c8b1..aea9c0c77c 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | |||
@@ -199,6 +199,7 @@ class RecipeSelectionPage (HobPage): | |||
199 | self.builder.configuration.selected_image = self.recipe_model.get_selected_image() | 199 | self.builder.configuration.selected_image = self.recipe_model.get_selected_image() |
200 | _, self.builder.configuration.selected_recipes = self.recipe_model.get_selected_recipes() | 200 | _, self.builder.configuration.selected_recipes = self.recipe_model.get_selected_recipes() |
201 | self.label.set_text("Recipes included: %s" % len(self.builder.configuration.selected_recipes)) | 201 | self.label.set_text("Recipes included: %s" % len(self.builder.configuration.selected_recipes)) |
202 | self.ins.show_indicator_icon("Included", len(self.builder.configuration.selected_recipes)) | ||
202 | 203 | ||
203 | # Callback functions | 204 | # Callback functions |
204 | def reset_clicked_cb(self, button): | 205 | def reset_clicked_cb(self, button): |