diff options
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index f6adabe42f..2a0cebab29 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -47,6 +47,7 @@ from bb.ui.crumbs.hig.deployimagedialog import DeployImageDialog | |||
47 | from bb.ui.crumbs.hig.layerselectiondialog import LayerSelectionDialog | 47 | from bb.ui.crumbs.hig.layerselectiondialog import LayerSelectionDialog |
48 | from bb.ui.crumbs.hig.imageselectiondialog import ImageSelectionDialog | 48 | from bb.ui.crumbs.hig.imageselectiondialog import ImageSelectionDialog |
49 | from bb.ui.crumbs.hig.parsingwarningsdialog import ParsingWarningsDialog | 49 | from bb.ui.crumbs.hig.parsingwarningsdialog import ParsingWarningsDialog |
50 | from bb.ui.crumbs.hig.propertydialog import PropertyDialog | ||
50 | 51 | ||
51 | hobVer = 20120808 | 52 | hobVer = 20120808 |
52 | 53 | ||
@@ -1202,11 +1203,37 @@ class Builder(gtk.Window): | |||
1202 | 1203 | ||
1203 | self.fast_generate_image_async(True) | 1204 | self.fast_generate_image_async(True) |
1204 | 1205 | ||
1205 | def show_binb_dialog(self, binb): | 1206 | def show_recipe_property_dialog(self, properties): |
1206 | markup = "<b>Brought in by:</b>\n%s" % binb | 1207 | information = {} |
1207 | ptip = PersistentTooltip(markup, self) | 1208 | dialog = PropertyDialog(title = properties["name"] +' '+ "properties", |
1209 | parent = self, | ||
1210 | information = properties, | ||
1211 | flags = gtk.DIALOG_DESTROY_WITH_PARENT | ||
1212 | | gtk.DIALOG_NO_SEPARATOR) | ||
1208 | 1213 | ||
1209 | ptip.show() | 1214 | dialog.set_modal(False) |
1215 | |||
1216 | button = dialog.add_button("Close", gtk.RESPONSE_NO) | ||
1217 | HobAltButton.style_button(button) | ||
1218 | button.connect("clicked", lambda w: dialog.destroy()) | ||
1219 | |||
1220 | dialog.run() | ||
1221 | |||
1222 | def show_packages_property_dialog(self, properties): | ||
1223 | information = {} | ||
1224 | dialog = PropertyDialog(title = properties["name"] +' '+ "properties", | ||
1225 | parent = self, | ||
1226 | information = properties, | ||
1227 | flags = gtk.DIALOG_DESTROY_WITH_PARENT | ||
1228 | | gtk.DIALOG_NO_SEPARATOR) | ||
1229 | |||
1230 | dialog.set_modal(False) | ||
1231 | |||
1232 | button = dialog.add_button("Close", gtk.RESPONSE_NO) | ||
1233 | HobAltButton.style_button(button) | ||
1234 | button.connect("clicked", lambda w: dialog.destroy()) | ||
1235 | |||
1236 | dialog.run() | ||
1210 | 1237 | ||
1211 | def show_layer_selection_dialog(self): | 1238 | def show_layer_selection_dialog(self): |
1212 | dialog = LayerSelectionDialog(title = "Layers", | 1239 | dialog = LayerSelectionDialog(title = "Layers", |