diff options
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py index fea92b5148..636762e40c 100755 --- a/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py +++ b/bitbake/lib/bb/ui/crumbs/recipeselectionpage.py | |||
@@ -152,6 +152,12 @@ class RecipeSelectionPage (HobPage): | |||
152 | if page['name'] == "Included recipes": | 152 | if page['name'] == "Included recipes": |
153 | tab.connect("button-release-event", self.button_click_cb) | 153 | tab.connect("button-release-event", self.button_click_cb) |
154 | tab.connect("cell-fadeinout-stopped", self.after_fadeout_checkin_include) | 154 | tab.connect("cell-fadeinout-stopped", self.after_fadeout_checkin_include) |
155 | if page['name'] == "Package Groups": | ||
156 | tab.connect("button-release-event", self.button_click_cb) | ||
157 | tab.connect("cell-fadeinout-stopped", self.after_fadeout_checkin_include) | ||
158 | if page['name'] == "All recipes": | ||
159 | tab.connect("button-release-event", self.button_click_cb) | ||
160 | tab.connect("cell-fadeinout-stopped", self.button_click_cb) | ||
155 | self.ins.append_page(tab, page['name'], page['tooltip']) | 161 | self.ins.append_page(tab, page['name'], page['tooltip']) |
156 | self.tables.append(tab) | 162 | self.tables.append(tab) |
157 | 163 | ||
@@ -185,9 +191,19 @@ class RecipeSelectionPage (HobPage): | |||
185 | path, col = widget.table_tree.get_cursor() | 191 | path, col = widget.table_tree.get_cursor() |
186 | tree_model = widget.table_tree.get_model() | 192 | tree_model = widget.table_tree.get_model() |
187 | if path: # else activation is likely a removal | 193 | if path: # else activation is likely a removal |
188 | binb = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_BINB) | 194 | properties = {'summary': '', 'name': '', 'version': '', 'revision': '', 'binb': '', 'group': '', 'license': '', 'homepage': '', 'bugtracker': '', 'description': ''} |
189 | if binb: | 195 | properties['summary'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_SUMMARY) |
190 | self.builder.show_binb_dialog(binb) | 196 | properties['name'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_NAME) |
197 | properties['version'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_VERSION) | ||
198 | properties['revision'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_REVISION) | ||
199 | properties['binb'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_BINB) | ||
200 | properties['group'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_GROUP) | ||
201 | properties['license'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_LIC) | ||
202 | properties['homepage'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_HOMEPAGE) | ||
203 | properties['bugtracker'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_BUGTRACKER) | ||
204 | properties['description'] = tree_model.get_value(tree_model.get_iter(path), RecipeListModel.COL_DESC) | ||
205 | self.builder.show_recipe_property_dialog(properties) | ||
206 | |||
191 | 207 | ||
192 | def build_packages_clicked_cb(self, button): | 208 | def build_packages_clicked_cb(self, button): |
193 | self.builder.build_packages() | 209 | self.builder.build_packages() |