From: Ben Pfaff Date: Sun, 1 May 2011 05:00:33 +0000 (-0700) Subject: gui: Add ellipsis to menu items that require further input. X-Git-Tag: v0.7.8~4 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=770a9763c4059adc0fde5f7b169814181ac14158;p=pspp-builds.git gui: Add ellipsis to menu items that require further input. The GNOME Human Interface Guidelines say: Label the menu item with a trailing ellipsis ("...") only if the command requires further input from the user before it can be performed. Do not add an ellipsis to items that only present a confirmation dialog (such as Delete), or that do not require further input (such as Properties, Preferences or About). Most PSPPIRE menu items fit this description, so they should have trailing ellipses, which this commit adds. Some GTK+ programs use the Unicode HORIZONTAL ELLIPSIS (U+2026) character instead of three periods in menu items. In a quick check on my own machine, however, three periods were over twice as common. In an informal survey on pspp-dev, the best argument presented in favor of one or the other was that three periods may be more familiar for translators and thus cause less confusion in translation. --- diff --git a/src/ui/gui/data-editor.ui b/src/ui/gui/data-editor.ui index 498f3fce..e64334a6 100644 --- a/src/ui/gui/data-editor.ui +++ b/src/ui/gui/data-editor.ui @@ -45,12 +45,13 @@ gtk-open file_open + _Open... file_import-text - _Import Delimited Text Data + _Import Delimited Text Data... gtk-convert @@ -70,6 +71,7 @@ gtk-save-as file_save_as + Save _As... @@ -88,7 +90,7 @@ file_information_external-file - External File + External File... @@ -133,7 +135,7 @@ - Go To Case + Go To Case... edit_goto-case Jump to a case in the data sheet gtk-jump-to @@ -178,6 +180,7 @@ gtk-find edit_find + _Find... @@ -197,6 +200,7 @@ view_fonts gtk-select-font + _Font... @@ -234,7 +238,7 @@ - _Sort Cases + _Sort Cases... data_sort-cases gtk-sort-ascending Sort cases in the active dataset @@ -244,7 +248,7 @@ pspp-transpose data_transpose - _Transpose + _Transpose... Transpose the cases with the variables @@ -252,13 +256,13 @@ pspp-aggregate data_aggregate - _Aggregate + _Aggregate... data_split-file - S_plit File + S_plit File... Split the active dataset pspp-split-file @@ -266,13 +270,13 @@ data_select-cases - Select _Cases + Select _Cases... data_weight-cases - _Weight Cases + _Weight Cases... Weight cases by variable pspp-weight-cases @@ -286,25 +290,25 @@ transform_compute - _Compute + _Compute... transform_rank - Ran_k Cases + Ran_k Cases... transform_recode-same - Recode into _Same Variables + Recode into _Same Variables... transform_recode-different - Recode into _Different Variables + Recode into _Different Variables... @@ -329,25 +333,25 @@ analyze_frequencies - _Frequencies + _Frequencies... analyze_descriptives - _Descriptives + _Descriptives... analyze_explore - _Explore + _Explore... crosstabs - _Crosstabs + _Crosstabs... @@ -359,25 +363,25 @@ one-sample-t-test - _One Sample T Test + _One Sample T Test... indep-t-test - _Independent Samples T Test + _Independent Samples T Test... paired-t-test - _Paired Samples T Test + _Paired Samples T Test... oneway-anova - One Way _ANOVA + One Way _ANOVA... @@ -389,19 +393,19 @@ factor-analysis - Factor _Analysis + Factor _Analysis... reliability - Re_liability + Re_liability... linear-regression - Linear _Regression + Linear _Regression... @@ -413,19 +417,19 @@ chi-square - _Chi-Square + _Chi-Square... binomial - _Binomial + _Binomial... "k-related-samples"> - K Related _Samples + K Related _Samples... @@ -443,7 +447,7 @@ utilities_variables - _Variables + _Variables... Jump to variable pspp-goto-variable @@ -451,7 +455,7 @@ utilities_comments - Data File _Comments + Data File _Comments... diff --git a/src/ui/gui/output-viewer.ui b/src/ui/gui/output-viewer.ui index 579a5bed..d3baad71 100644 --- a/src/ui/gui/output-viewer.ui +++ b/src/ui/gui/output-viewer.ui @@ -13,13 +13,14 @@ file_print gtk-print + _Print... file_export gtk-convert - _Export + _Export... diff --git a/src/ui/gui/syntax-editor.ui b/src/ui/gui/syntax-editor.ui index e65eef66..91fdec49 100644 --- a/src/ui/gui/syntax-editor.ui +++ b/src/ui/gui/syntax-editor.ui @@ -32,6 +32,7 @@ gtk-open file_open + _Open... @@ -44,6 +45,7 @@ gtk-save-as file_save_as + Save _As...