[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: [PATCH] Add a keyboard shortcut to pcb's "close without saving" option



This patch adds a keyboard mnemonic to the "close without saving"
option in the close confirmation dialog box.
---
 po/ru.po                 |    2 +-
 src/hid/gtk/gui-dialog.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/po/ru.po b/po/ru.po
index aa7d90c..0fa6ea8 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -3488,7 +3488,7 @@ msgid "If you don't save, all your changes will be permanently lost."
 msgstr "ÐÑÐÐ ÐÐÐÐÐÐÐÐÑ ÐÐ ÐÑÐÑÑ ÑÐÑÑÐÐÐÐÑ, ÐÐÐ ÐÑÐÑÑ ÐÐÐÐÐÐÐÑÐÑÐÐ ÑÑÐÑÑÐÑ."
 
 #: ../src/hid/gtk/gui-dialog.c:227
-msgid "Close without saving"
+msgid "Close _without saving"
 msgstr "ÐÐÐÑÑÑÑ ÐÐÐ ÑÐÑÑÐÐÐÐÐÑ"
 
 #: ../src/hid/gtk/gui-drc-window.c:228
diff --git a/src/hid/gtk/gui-dialog.c b/src/hid/gtk/gui-dialog.c
index 1697324..ec91233 100644
--- a/src/hid/gtk/gui-dialog.c
+++ b/src/hid/gtk/gui-dialog.c
@@ -224,7 +224,7 @@ ghid_dialog_close_confirm ()
                                    GTK_BUTTONS_NONE, NULL);
   gtk_message_dialog_set_markup (GTK_MESSAGE_DIALOG (dialog), str);
   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.2

Attachment: signature.asc
Description: This is a digitally signed message part


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user