From: John Darrington Date: Sat, 30 Jul 2011 12:14:18 +0000 (+0200) Subject: Factor Dialog: Add mnemonics X-Git-Tag: v0.7.9~175 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed1d57e30ef9c299f12115cd25ae374686050155;p=pspp-builds.git Factor Dialog: Add mnemonics --- diff --git a/src/ui/gui/factor-dialog.c b/src/ui/gui/factor-dialog.c index f3fa2234..26702450 100644 --- a/src/ui/gui/factor-dialog.c +++ b/src/ui/gui/factor-dialog.c @@ -340,10 +340,18 @@ factor_dialog (PsppireDataWindow *dw) { GtkWidget *hbox = get_widget_assert (fd.xml, "hbox6"); - GtkWidget *eigenvalue_extraction = psppire_scanf_new (_("Eigenvalues over %4.2f times the mean eigenvalue"), &fd.mineigen); + GtkWidget *eigenvalue_extraction ; - fd.nfactors_toggle = get_widget_assert (fd.xml, "nfactors-radiobutton"); fd.mineigen_toggle = get_widget_assert (fd.xml, "mineigen-radiobutton"); + + eigenvalue_extraction = psppire_scanf_new (_("_Eigenvalues over %4.2f times the mean eigenvalue"), &fd.mineigen); + + g_object_set (eigenvalue_extraction, + "use-underline", TRUE, + "mnemonic-widget", fd.mineigen_toggle, + NULL); + + fd.nfactors_toggle = get_widget_assert (fd.xml, "nfactors-radiobutton"); fd.n_factors = get_widget_assert (fd.xml, "spinbutton-nfactors"); fd.extract_iterations = get_widget_assert (fd.xml, "spinbutton-extract-iterations"); fd.covariance_toggle = get_widget_assert (fd.xml, "covariance-radiobutton"); diff --git a/src/ui/gui/factor.ui b/src/ui/gui/factor.ui index 6782f6bf..9705f891 100644 --- a/src/ui/gui/factor.ui +++ b/src/ui/gui/factor.ui @@ -143,6 +143,8 @@ + False + False 1 @@ -178,8 +180,10 @@ True - Variables: + _Variables: True + True + psppire-var-view1 @@ -221,7 +225,9 @@ True - Method: + _Method: + True + combobox1 False @@ -271,10 +277,11 @@ spread - Correlation matrix + Co_rrelation matrix True True False + True True @@ -285,10 +292,11 @@ - Covariance matrix + Co_variance matrix True True False + True True correlations-radiobutton @@ -329,10 +337,11 @@ spread - Unrotated factor solution + _Unrotated factor solution True True False + True True @@ -343,10 +352,11 @@ - Scree plot + _Scree plot True True False + True True @@ -435,7 +445,9 @@ True 0 - Number of factors: + _Number of factors: + True + nfactors-radiobutton 1 @@ -480,7 +492,9 @@ True - Maximum iterations for convergence: + Ma_ximum iterations for convergence: + True + spinbutton-extract-iterations 0 @@ -670,7 +684,9 @@ True - Maximum iterations for convergence: + Ma_ximum iterations for convergence: + True + spinbutton-rot-iterations 0