[gtk/gtk-3-24] colorchooser: Bring color names back
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] colorchooser: Bring color names back
- Date: Wed, 7 Oct 2020 19:57:14 +0000 (UTC)
commit c91e65ba1038f6a83e2a0628a9481c266e1d272a
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Oct 7 15:36:23 2020 -0400
colorchooser: Bring color names back
These are useful for accessibility.
gtk/gtkcolorchooserwidget.c | 80 +++++++++++++++++++++------------------------
1 file changed, 38 insertions(+), 42 deletions(-)
---
diff --git a/gtk/gtkcolorchooserwidget.c b/gtk/gtkcolorchooserwidget.c
index bf3ea15d06..9fca31de80 100644
--- a/gtk/gtkcolorchooserwidget.c
+++ b/gtk/gtkcolorchooserwidget.c
@@ -443,55 +443,51 @@ add_default_palette (GtkColorChooserWidget *cc)
{ "#77767b", "#5e5c64", "#3d3846", "#241f31", "#000000" } /* Dark */
};
const gchar *color_names[] = {
+ NC_("Color name", "Very Light Blue"),
+ NC_("Color name", "Light Blue"),
NC_("Color name", "Blue"),
- NC_("Color name", "Blue"),
- NC_("Color name", "Blue"),
- NC_("Color name", "Blue"),
- NC_("Color name", "Blue"),
- NC_("Color name", "Blue"),
- NC_("Color name", "Green"),
- NC_("Color name", "Green"),
- NC_("Color name", "Green"),
+ NC_("Color name", "Dark Blue"),
+ NC_("Color name", "Very Dark Blue"),
+ NC_("Color name", "Very Light Green"),
+ NC_("Color name", "Light Green"),
NC_("Color name", "Green"),
- NC_("Color name", "Green"),
- NC_("Color name", "Green"),
- NC_("Color name", "Yellow"),
- NC_("Color name", "Yellow"),
+ NC_("Color name", "Dark Green"),
+ NC_("Color name", "Very Dark Green"),
+ NC_("Color name", "Very Light Yellow"),
+ NC_("Color name", "Light Yellow"),
NC_("Color name", "Yellow"),
- NC_("Color name", "Yellow"),
- NC_("Color name", "Yellow"),
- NC_("Color name", "Yellow"),
- NC_("Color name", "Orange"),
+ NC_("Color name", "Dark Yellow"),
+ NC_("Color name", "Very Dark Yellow"),
+ NC_("Color name", "Very Light Orange"),
+ NC_("Color name", "Light Orange"),
NC_("Color name", "Orange"),
- NC_("Color name", "Orange"),
- NC_("Color name", "Orange"),
- NC_("Color name", "Orange"),
- NC_("Color name", "Orange"),
- NC_("Color name", "Red"),
- NC_("Color name", "Red"),
- NC_("Color name", "Red"),
- NC_("Color name", "Red"),
+ NC_("Color name", "Dark Orange"),
+ NC_("Color name", "Very Dark Orange"),
+ NC_("Color name", "Very Light Red"),
+ NC_("Color name", "Light Red"),
NC_("Color name", "Red"),
+ NC_("Color name", "Dark Red"),
+ NC_("Color name", "Very Dark Red"),
+ NC_("Color name", "Very Light Purple"),
+ NC_("Color name", "Light Purple"),
NC_("Color name", "Purple"),
- NC_("Color name", "Purple"),
- NC_("Color name", "Purple"),
- NC_("Color name", "Purple"),
- NC_("Color name", "Purple"),
- NC_("Color name", "Brown"),
- NC_("Color name", "Brown"),
- NC_("Color name", "Brown"),
- NC_("Color name", "Brown"),
+ NC_("Color name", "Dark Purple"),
+ NC_("Color name", "Very Dark Purple"),
+ NC_("Color name", "Very Light Brown"),
+ NC_("Color name", "Light Brown"),
NC_("Color name", "Brown"),
- NC_("Color name", "Light"),
- NC_("Color name", "Light"),
- NC_("Color name", "Light"),
- NC_("Color name", "Light"),
- NC_("Color name", "Light"),
- NC_("Color name", "Dark"),
- NC_("Color name", "Dark"),
- NC_("Color name", "Dark"),
- NC_("Color name", "Dark"),
- NC_("Color name", "Dark"),
+ NC_("Color name", "Dark Brown"),
+ NC_("Color name", "Very Dark Brown"),
+ NC_("Color name", "White"),
+ NC_("Color name", "Light Gray 1"),
+ NC_("Color name", "Light Gray 2"),
+ NC_("Color name", "Light Gray 3"),
+ NC_("Color name", "Light Gray 4"),
+ NC_("Color name", "Dark Gray 1"),
+ NC_("Color name", "Dark Gray 2"),
+ NC_("Color name", "Dark Gray 3"),
+ NC_("Color name", "Dark Gray 4"),
+ NC_("Color name", "Black"),
};
GdkRGBA colors[9*5];
gint i, j;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]