Merge 'master' into 'psppsheet'.
[pspp] / src / ui / gui / t-test-options.c
index d4656bf4a457bc811a08219df7624e32ce610ca1..671eba0c32c18b0a19fded5b9a7281c0a519a8fa 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2007  Free Software Foundation
+   Copyright (C) 2007, 2012  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -21,6 +21,7 @@
 
 #include "psppire-dialog.h"
 #include <gl/xalloc.h>
+#include "builder-wrapper.h"
 #include "helper.h"
 #include "t-test-options.h"
 
@@ -61,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 (PSPPIRE_SCANF (tto->confidence), 0),
+               NULL);
 
   tto->dialog = get_widget_assert (tto->xml, "options-dialog");