GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 0620ee06 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

no need to set a size_request here.

2004-08-18  Sven Neumann  <sven@gimp.org>

	* app/gui/color-notebook.c: no need to set a size_request here.

	* libgimpwidgets/gimpcolorselection.c: HIG-ified spacings.

	* libgimpwidgets/gimpcolorscales.c
	* modules/colorsel_cmyk.c: don't set a minimum width on the color
	scales. Improves behaviour for narrow color dockables.
parent d5cd7ae3
2004-08-18 Sven Neumann <sven@gimp.org>
* app/gui/color-notebook.c: no need to set a size_request here.
* libgimpwidgets/gimpcolorselection.c: HIG-ified spacings.
* libgimpwidgets/gimpcolorscales.c
* modules/colorsel_cmyk.c: don't set a minimum width on the color
scales. Improves behaviour for narrow color dockables.
2004-08-18 Sven Neumann <sven@gimp.org>
* modules/colorsel_triangle.c: fixed crashes that occured with
......
......@@ -178,7 +178,6 @@ color_notebook_new (GimpViewable *viewable,
gtk_widget_show (table);
button = gtk_button_new ();
gtk_widget_set_size_request (button, COLOR_AREA_SIZE, COLOR_AREA_SIZE);
gtk_table_attach_defaults (GTK_TABLE (table), button, 0, 1, 0, 1);
gimp_help_set_help_data (button,
_("Add the current color to the color history"),
......
......@@ -178,7 +178,6 @@ color_notebook_new (GimpViewable *viewable,
gtk_widget_show (table);
button = gtk_button_new ();
gtk_widget_set_size_request (button, COLOR_AREA_SIZE, COLOR_AREA_SIZE);
gtk_table_attach_defaults (GTK_TABLE (table), button, 0, 1, 0, 1);
gimp_help_set_help_data (button,
_("Add the current color to the color history"),
......
......@@ -178,7 +178,6 @@ color_notebook_new (GimpViewable *viewable,
gtk_widget_show (table);
button = gtk_button_new ();
gtk_widget_set_size_request (button, COLOR_AREA_SIZE, COLOR_AREA_SIZE);
gtk_table_attach_defaults (GTK_TABLE (table), button, 0, 1, 0, 1);
gimp_help_set_help_data (button,
_("Add the current color to the color history"),
......
......@@ -216,7 +216,7 @@ gimp_color_scales_init (GimpColorScales *scales)
scales->slider_data[i] =
gimp_color_scale_entry_new (GTK_TABLE (table), 1, i,
gettext (toggle_titles[i]),
80, -1,
-1, -1,
slider_initial_vals[i],
0.0, slider_max_vals[i],
1.0, slider_incs[i],
......
......@@ -154,7 +154,7 @@ gimp_color_selection_init (GimpColorSelection *selection)
gtk_widget_show (main_hbox);
/* The left vbox with the notebook */
selection->left_vbox = gtk_vbox_new (FALSE, 4);
selection->left_vbox = gtk_vbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (main_hbox), selection->left_vbox,
TRUE, TRUE, 0);
gtk_widget_show (selection->left_vbox);
......@@ -190,7 +190,7 @@ gimp_color_selection_init (GimpColorSelection *selection)
/* The table for the color_areas */
table = gtk_table_new (2, 2, FALSE);
gtk_table_set_row_spacings (GTK_TABLE (table), 2);
gtk_table_set_col_spacings (GTK_TABLE (table), 4);
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
gtk_box_pack_end (GTK_BOX (selection->left_vbox), table, FALSE, FALSE, 0);
gtk_widget_show (table);
......@@ -236,7 +236,7 @@ gimp_color_selection_init (GimpColorSelection *selection)
gtk_widget_show (selection->old_color);
/* The right vbox with color scales */
selection->right_vbox = gtk_vbox_new (FALSE, 4);
selection->right_vbox = gtk_vbox_new (FALSE, 6);
gtk_box_pack_start (GTK_BOX (main_hbox), selection->right_vbox,
TRUE, TRUE, 0);
gtk_widget_show (selection->right_vbox);
......
......@@ -172,7 +172,7 @@ colorsel_cmyk_init (ColorselCmyk *module)
{
adj = gimp_scale_entry_new (GTK_TABLE (table), 1, i,
gettext (cmyk_labels[i]),
80, -1,
-1, -1,
0.0,
0.0, 100.0,
1.0, 10.0,
......@@ -188,10 +188,10 @@ colorsel_cmyk_init (ColorselCmyk *module)
module->adj[i] = GTK_ADJUSTMENT (adj);
}
label = gtk_label_new_with_mnemonic (_("Black Pullout (%):"));
label = gtk_label_new_with_mnemonic (_("Black _Pullout:"));
gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label,
2, 3, i, i + 1,
1, 3, i, i + 1,
GTK_FILL, GTK_FILL, 0, 0);
gtk_widget_show (label);
......@@ -204,6 +204,9 @@ colorsel_cmyk_init (ColorselCmyk *module)
GTK_SHRINK, GTK_SHRINK, 0, 0);
gtk_widget_show (spinbutton);
gimp_help_set_help_data (spinbutton,
_("The percentage of black to pull out "
"of the colored inks."), NULL);
gtk_label_set_mnemonic_widget (GTK_LABEL (label), spinbutton);
g_signal_connect (adj, "value_changed",
......
Markdown is supported
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