lib/bb/ui/crumbs/builder: only show a close button on the Layer Selector
Per discussion with the design team the LayerSelectionDialog should only have a close button. See: https://bugzilla.yoctoproject.org/show_bug.cgi?id=2083#c10 (Bitbake rev: 65d92efe2786f21b8a2790ef0383f87b6dc15b57) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
f76dcdb1ca
commit
d4a087fd39
|
@ -671,8 +671,7 @@ class Builder(gtk.Window):
|
|||
flags = gtk.DIALOG_MODAL
|
||||
| gtk.DIALOG_DESTROY_WITH_PARENT
|
||||
| gtk.DIALOG_NO_SEPARATOR,
|
||||
buttons = (gtk.STOCK_CANCEL, gtk.RESPONSE_NO,
|
||||
gtk.STOCK_OK, gtk.RESPONSE_YES))
|
||||
buttons = (gtk.STOCK_CLOSE, gtk.RESPONSE_YES))
|
||||
response = dialog.run()
|
||||
if response == gtk.RESPONSE_YES:
|
||||
self.configuration.layers = dialog.layers
|
||||
|
|
Loading…
Reference in New Issue