Added mnemonic to t-test options dialog 20121102030504/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 1 Nov 2012 21:30:53 +0000 (22:30 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 1 Nov 2012 21:31:21 +0000 (22:31 +0100)
src/ui/gui/t-test-options.c

index 1caac9c0f7d27224adfa7c8f63c3c3f3046b2b08..1e44c0eb05829dcaf698d63adc034ef3717f23e1 100644 (file)
@@ -62,7 +62,12 @@ tt_options_dialog_create (GtkWindow *parent)
   tto->xml = builder_new ("t-test.ui");
 
   tto->confidence =
-    psppire_scanf_new (_("Confidence Interval: %2d %%"), &tto->conf_percent);
+    psppire_scanf_new (_("Con_fidence Interval: %2d %%"), &tto->conf_percent);
+  
+  g_object_set (tto->confidence, 
+               "use-underline", TRUE, 
+               "mnemonic-widget", psppire_scanf_get_child (tto->confidence, 0),
+               NULL);
 
   tto->dialog = get_widget_assert (tto->xml, "options-dialog");