From d4a087fd39d034f8b5e4c5bc59b64d74c3442dbc Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 22 Mar 2012 15:56:30 -0700 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/crumbs/builder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bitbake') 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): 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 -- cgit v1.2.3-54-g00ecf