diff options
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/recipeselectionpage.py')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index af68f2a751..d8e71b0979 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | |||
@@ -124,18 +124,22 @@ class RecipeSelectionPage (HobPage): | |||
124 | }] | 124 | }] |
125 | } | 125 | } |
126 | ] | 126 | ] |
127 | |||
128 | (INCLUDED, | ||
129 | ALL, | ||
130 | TASKS) = range(3) | ||
127 | 131 | ||
128 | def __init__(self, builder = None): | 132 | def __init__(self, builder = None): |
129 | super(RecipeSelectionPage, self).__init__(builder, "Recipes") | 133 | super(RecipeSelectionPage, self).__init__(builder, "Edit recipes") |
130 | 134 | ||
131 | # set invisiable members | 135 | # set invisible members |
132 | self.recipe_model = self.builder.recipe_model | 136 | self.recipe_model = self.builder.recipe_model |
133 | 137 | ||
134 | # create visual elements | 138 | # create visual elements |
135 | self.create_visual_elements() | 139 | self.create_visual_elements() |
136 | 140 | ||
137 | def included_clicked_cb(self, button): | 141 | def included_clicked_cb(self, button): |
138 | self.ins.set_current_page(0) | 142 | self.ins.set_current_page(self.INCLUDED) |
139 | 143 | ||
140 | def create_visual_elements(self): | 144 | def create_visual_elements(self): |
141 | self.eventbox = self.add_onto_top_bar(None, 73) | 145 | self.eventbox = self.add_onto_top_bar(None, 73) |
@@ -180,7 +184,7 @@ class RecipeSelectionPage (HobPage): | |||
180 | self.build_packages_button.connect("clicked", self.build_packages_clicked_cb) | 184 | self.build_packages_button.connect("clicked", self.build_packages_clicked_cb) |
181 | button_box.pack_end(self.build_packages_button, expand=False, fill=False) | 185 | button_box.pack_end(self.build_packages_button, expand=False, fill=False) |
182 | 186 | ||
183 | self.back_button = HobAltButton("<< Back to image configuration") | 187 | self.back_button = HobAltButton('<< Back') |
184 | self.back_button.connect("clicked", self.back_button_clicked_cb) | 188 | self.back_button.connect("clicked", self.back_button_clicked_cb) |
185 | button_box.pack_start(self.back_button, expand=False, fill=False) | 189 | button_box.pack_start(self.back_button, expand=False, fill=False) |
186 | 190 | ||
@@ -261,3 +265,6 @@ class RecipeSelectionPage (HobPage): | |||
261 | 265 | ||
262 | def after_fadeout_checkin_include(self, table, ctrl, cell, tree): | 266 | def after_fadeout_checkin_include(self, table, ctrl, cell, tree): |
263 | tree.set_model(self.recipe_model.tree_model(self.pages[0]['filter'])) | 267 | tree.set_model(self.recipe_model.tree_model(self.pages[0]['filter'])) |
268 | |||
269 | def set_recipe_curr_tab(self, curr_page): | ||
270 | self.ins.set_current_page(curr_page) | ||