From f5d2698ec7cfe8762d299b549365fe8f94ad4f1f Mon Sep 17 00:00:00 2001 From: Dan White Date: Wed, 18 Jan 2012 11:18:52 -0600 Subject: [PATCH] gschem: change "Close without save" key-accel to "w" Conflicted with "Close" button's accelerator "c" and, due to button ordering, was selected first when using "Alt-c". Not noticing the multiple-binding may lead to an undesired discard of changes instead of cancelling the gschem exit. Closes-bug: lp-918306 --- gschem/src/x_dialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gschem/src/x_dialog.c b/gschem/src/x_dialog.c index f91d19f..ab4379b 100644 --- a/gschem/src/x_dialog.c +++ b/gschem/src/x_dialog.c @@ -3808,7 +3808,7 @@ close_confirmation_dialog_constructor (GType type, /* add buttons to dialog action area */ gtk_dialog_add_buttons (GTK_DIALOG (dialog), - _("_Close without saving"), GTK_RESPONSE_NO, + _("Close _without saving"), GTK_RESPONSE_NO, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_YES, NULL); -- 1.7.0.4