Commit 6f32d586 authored by Sven Neumann's avatar Sven Neumann
Browse files

minor changes, fixing earlier commits

parent a0a3f17e
......@@ -153,7 +153,7 @@ gimp_color_scales_init (GimpColorScales *scales)
N_("_B"),
N_("_A")
};
static const gchar *slider_tips[7] =
static const gchar *slider_tips[] =
{
N_("Hue"),
N_("Saturation"),
......@@ -173,6 +173,7 @@ gimp_color_scales_init (GimpColorScales *scales)
table = gtk_table_new (7, 4, FALSE);
gtk_table_set_row_spacings (GTK_TABLE (table), 1);
gtk_table_set_row_spacing (GTK_TABLE (table), 2, 3); /* hsv <-> rgb */
gtk_table_set_row_spacing (GTK_TABLE (table), 5, 3); /* rgb <-> alpha */
gtk_table_set_col_spacings (GTK_TABLE (table), 2);
gtk_table_set_col_spacing (GTK_TABLE (table), 0, 0);
gtk_box_pack_start (GTK_BOX (scales), table, FALSE, FALSE, 0);
......@@ -269,8 +270,10 @@ gimp_color_scales_set_show_alpha (GimpColorSelector *selector,
table = gtk_widget_get_parent (scale);
if (GTK_IS_TABLE (table))
gtk_table_set_row_spacing (GTK_TABLE (table), 5, /* rgb <-> alpha */
show_alpha ? 3 : 0);
{
gtk_table_set_row_spacing (GTK_TABLE (table), 5, /* rgb <-> alpha */
show_alpha ? 3 : 0);
}
if (show_alpha)
{
......
......@@ -344,15 +344,14 @@ gimp_color_select_init (GimpColorSelect *select)
{
N_("_H"), N_("_S"), N_("_V"), N_("_R"), N_("_G"), N_("_B")
};
static const gchar *tips[7] =
static const gchar *tips[] =
{
N_("Hue"),
N_("Saturation"),
N_("Value"),
N_("Red"),
N_("Green"),
N_("Blue"),
N_("Alpha")
N_("Blue")
};
for (channel = GIMP_COLOR_SELECTOR_HUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment