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:
parent
f1c35a6ad3
commit
1aa102b39e
|
@ -838,7 +838,7 @@ class LayerSelectionDialog (CrumbsDialog):
|
||||||
layer_store.append([path])
|
layer_store.append([path])
|
||||||
return
|
return
|
||||||
dialog = CrumbsMessageDialog(parent, lbl)
|
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()
|
response = dialog.run()
|
||||||
dialog.destroy()
|
dialog.destroy()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue