diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-03-22 15:56:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 16:10:23 +0000 |
commit | d4a087fd39d034f8b5e4c5bc59b64d74c3442dbc (patch) | |
tree | ec76c3491eeb33fe5cdf7da7b189a54803efb689 | |
parent | f76dcdb1cad85dd755ae14d18b3f5f7c67e273ee (diff) | |
download | poky-d4a087fd39d034f8b5e4c5bc59b64d74c3442dbc.tar.gz |
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>
-rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index 5a292e7b3b..ce038343e9 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
@@ -671,8 +671,7 @@ class Builder(gtk.Window): | |||
671 | flags = gtk.DIALOG_MODAL | 671 | flags = gtk.DIALOG_MODAL |
672 | | gtk.DIALOG_DESTROY_WITH_PARENT | 672 | | gtk.DIALOG_DESTROY_WITH_PARENT |
673 | | gtk.DIALOG_NO_SEPARATOR, | 673 | | gtk.DIALOG_NO_SEPARATOR, |
674 | buttons = (gtk.STOCK_CANCEL, gtk.RESPONSE_NO, | 674 | buttons = (gtk.STOCK_CLOSE, gtk.RESPONSE_YES)) |
675 | gtk.STOCK_OK, gtk.RESPONSE_YES)) | ||
676 | response = dialog.run() | 675 | response = dialog.run() |
677 | if response == gtk.RESPONSE_YES: | 676 | if response == gtk.RESPONSE_YES: |
678 | self.configuration.layers = dialog.layers | 677 | self.configuration.layers = dialog.layers |