diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/recipeselectionpage.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index ece37e065b..af68f2a751 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | |||
@@ -138,15 +138,11 @@ class RecipeSelectionPage (HobPage): | |||
138 | self.ins.set_current_page(0) | 138 | self.ins.set_current_page(0) |
139 | 139 | ||
140 | def create_visual_elements(self): | 140 | def create_visual_elements(self): |
141 | self.label = gtk.Button('Recipes included: 0') | 141 | self.eventbox = self.add_onto_top_bar(None, 73) |
142 | self.label.set_can_default(False) | ||
143 | self.label.set_relief(gtk.RELIEF_HALF) | ||
144 | self.label.connect("clicked", self.included_clicked_cb) | ||
145 | self.eventbox = self.add_onto_top_bar(self.label, 73) | ||
146 | self.pack_start(self.eventbox, expand=False, fill=False) | 142 | self.pack_start(self.eventbox, expand=False, fill=False) |
147 | self.pack_start(self.group_align, expand=True, fill=True) | 143 | self.pack_start(self.group_align, expand=True, fill=True) |
148 | 144 | ||
149 | # set visiable members | 145 | # set visible members |
150 | self.ins = HobNotebook() | 146 | self.ins = HobNotebook() |
151 | self.tables = [] # we need modify table when the dialog is shown | 147 | self.tables = [] # we need modify table when the dialog is shown |
152 | # append the tabs in order | 148 | # append the tabs in order |
@@ -205,7 +201,6 @@ class RecipeSelectionPage (HobPage): | |||
205 | def refresh_selection(self): | 201 | def refresh_selection(self): |
206 | self.builder.configuration.selected_image = self.recipe_model.get_selected_image() | 202 | self.builder.configuration.selected_image = self.recipe_model.get_selected_image() |
207 | _, self.builder.configuration.selected_recipes = self.recipe_model.get_selected_recipes() | 203 | _, self.builder.configuration.selected_recipes = self.recipe_model.get_selected_recipes() |
208 | self.label.set_label("Recipes included: %s" % len(self.builder.configuration.selected_recipes)) | ||
209 | self.ins.show_indicator_icon("Included", len(self.builder.configuration.selected_recipes)) | 204 | self.ins.show_indicator_icon("Included", len(self.builder.configuration.selected_recipes)) |
210 | 205 | ||
211 | def toggle_item_idle_cb(self, path, view_tree, cell, pagename): | 206 | def toggle_item_idle_cb(self, path, view_tree, cell, pagename): |