Hob: enable indicators on the "Included" tab in the recipe selection page and the...
authorShane Wang <shane.wang@intel.com>
Wed, 29 Feb 2012 14:15:09 +0000 (22:15 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Mar 2012 15:51:32 +0000 (15:51 +0000)
(Bitbake rev: 504d480b208cacad7a5595312890f49fe19b80be)

Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/crumbs/packageselectionpage.py
bitbake/lib/bb/ui/crumbs/recipeselectionpage.py

index a3c4acd..a8628ac 100755 (executable)
@@ -193,6 +193,7 @@ class PackageSelectionPage (HobPage):
 
         self.label.set_text("Packages included: %s\nSelected packages size: %s\nTotal image size: %s" %
                             (selected_packages_num, selected_packages_size_str, image_total_size_str))
+        self.ins.show_indicator_icon("Included", selected_packages_num)
 
     """
     Helper function to convert the package size to string format.
index ee36f8c..aea9c0c 100755 (executable)
@@ -199,6 +199,7 @@ class RecipeSelectionPage (HobPage):
         self.builder.configuration.selected_image = self.recipe_model.get_selected_image()
         _, self.builder.configuration.selected_recipes = self.recipe_model.get_selected_recipes()
         self.label.set_text("Recipes included: %s" % len(self.builder.configuration.selected_recipes))
+        self.ins.show_indicator_icon("Included", len(self.builder.configuration.selected_recipes))
 
     # Callback functions
     def reset_clicked_cb(self, button):