[Libguestfs] [PATCH] p2v: gui: Change mnemonics so 's' is not used twice (RHBZ#1379289).

Richard W.M. Jones rjones at redhat.com
Tue Mar 21 17:23:49 UTC 2017


Change mnemonics so 's' is not used twice:

  Start Conversion: 's' -> 'c'
  Output Connection: 'c' -> 'o'
  Output Storage: continues to use 's'

Thanks: Ming Xie.
---
 p2v/gui.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/p2v/gui.c b/p2v/gui.c
index b850b2f10..464230645 100644
--- a/p2v/gui.c
+++ b/p2v/gui.c
@@ -785,7 +785,7 @@ create_conversion_dialog (struct config *config)
   table_attach (output_tbl, o_combo,
                 1, 2, 0, 1, GTK_FILL, GTK_FILL, 1, 1);
 
-  oc_label = gtk_label_new_with_mnemonic (_("Output _conn. (-oc):"));
+  oc_label = gtk_label_new_with_mnemonic (_("_Output conn. (-oc):"));
   table_attach (output_tbl, oc_label,
                 0, 1, 1, 2, GTK_FILL, GTK_FILL, 1, 1);
   set_alignment (oc_label, 1., 0.5);
@@ -908,7 +908,7 @@ create_conversion_dialog (struct config *config)
   /* Buttons. */
   gtk_dialog_add_buttons (GTK_DIALOG (conv_dlg),
                           _("_Back"), 1,
-                          _("_Start conversion"), 2,
+                          _("Start _conversion"), 2,
                           NULL);
   back = gtk_dialog_get_widget_for_response (GTK_DIALOG (conv_dlg), 1);
   start_button = gtk_dialog_get_widget_for_response (GTK_DIALOG (conv_dlg), 2);
-- 
2.12.0




More information about the Libguestfs mailing list