mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
Change 'Ok' to 'Select' in the color chooser dialog
We have meaningful labels for the Ok buttons in all other choosers, so just use the same string we use in the app chooser and the font chooser. Also move the mnemonic from s to a in 'Saturation', to avoid a mnemonic conflict. String change ! https://bugzilla.gnome.org/show_bug.cgi?id=657006
This commit is contained in:
parent
5c5cdf23a8
commit
3825a098c8
@ -452,7 +452,7 @@ gtk_color_selection_init (GtkColorSelection *colorsel)
|
||||
make_label_spinbutton (colorsel, &priv->hue_spinbutton, _("_Hue:"), table, 0, 0, COLORSEL_HUE,
|
||||
_("Position on the color wheel."));
|
||||
gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (priv->hue_spinbutton), TRUE);
|
||||
make_label_spinbutton (colorsel, &priv->sat_spinbutton, _("_Saturation:"), table, 0, 1, COLORSEL_SATURATION,
|
||||
make_label_spinbutton (colorsel, &priv->sat_spinbutton, _("S_aturation:"), table, 0, 1, COLORSEL_SATURATION,
|
||||
_("Intensity of the color."));
|
||||
make_label_spinbutton (colorsel, &priv->val_spinbutton, _("_Value:"), table, 0, 2, COLORSEL_VALUE,
|
||||
_("Brightness of the color."));
|
||||
|
@ -190,17 +190,17 @@ gtk_color_selection_dialog_init (GtkColorSelectionDialog *colorseldiag)
|
||||
gtk_color_selection_set_has_opacity_control (GTK_COLOR_SELECTION (priv->colorsel), FALSE);
|
||||
gtk_container_add (GTK_CONTAINER (content_area), priv->colorsel);
|
||||
gtk_widget_show (priv->colorsel);
|
||||
|
||||
|
||||
priv->cancel_button = gtk_dialog_add_button (dialog,
|
||||
GTK_STOCK_CANCEL,
|
||||
GTK_RESPONSE_CANCEL);
|
||||
|
||||
priv->ok_button = gtk_dialog_add_button (dialog,
|
||||
GTK_STOCK_OK,
|
||||
_("_Select"),
|
||||
GTK_RESPONSE_OK);
|
||||
|
||||
|
||||
gtk_widget_grab_default (priv->ok_button);
|
||||
|
||||
|
||||
priv->help_button = gtk_dialog_add_button (dialog,
|
||||
GTK_STOCK_HELP,
|
||||
GTK_RESPONSE_HELP);
|
||||
|
Loading…
Reference in New Issue
Block a user