[gtk+] Change 'Ok' to 'Select' in the color chooser dialog
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Change 'Ok' to 'Select' in the color chooser dialog
- Date: Tue, 23 Aug 2011 14:18:51 +0000 (UTC)
commit 3825a098c80b787d5bdab76ff7dc557adf28da97
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 23 10:16:34 2011 -0400
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
gtk/gtkcolorsel.c | 2 +-
gtk/gtkcolorseldialog.c | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcolorsel.c b/gtk/gtkcolorsel.c
index c83279a..af12bcb 100644
--- a/gtk/gtkcolorsel.c
+++ b/gtk/gtkcolorsel.c
@@ -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."));
diff --git a/gtk/gtkcolorseldialog.c b/gtk/gtkcolorseldialog.c
index 627efa9..a8a77e7 100644
--- a/gtk/gtkcolorseldialog.c
+++ b/gtk/gtkcolorseldialog.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]