mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
ui/crumbs/hig: use close rather than OK for dismis button
Dialogue buttons should have descriptive names (Bitbake rev: 7b28ed7dfa59d9e7cec662159113a03633f8bb36) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f1c35a6ad3
commit
1aa102b39e
@@ -838,7 +838,7 @@ class LayerSelectionDialog (CrumbsDialog):
|
||||
layer_store.append([path])
|
||||
return
|
||||
dialog = CrumbsMessageDialog(parent, lbl)
|
||||
dialog.add_button(gtk.STOCK_OK, gtk.RESPONSE_OK)
|
||||
dialog.add_button(gtk.STOCK_CLOSE, gtk.RESPONSE_OK)
|
||||
response = dialog.run()
|
||||
dialog.destroy()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user