mirror of https://github.com/GNOME/gimp.git
app/widgets/gimpcolordisplayeditor.c modules/cdisplay_colorblind.c
2004-05-26 Sven Neumann <sven@gimp.org> * app/widgets/gimpcolordisplayeditor.c * modules/cdisplay_colorblind.c * modules/cdisplay_gamma.c * modules/cdisplay_highcontrast.c * modules/cdisplay_proof.c: HIG-ified color display filters.
This commit is contained in:
parent
b9d74b9aa4
commit
c0e7bc785e
|
@ -1,3 +1,11 @@
|
|||
2004-05-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimpcolordisplayeditor.c
|
||||
* modules/cdisplay_colorblind.c
|
||||
* modules/cdisplay_gamma.c
|
||||
* modules/cdisplay_highcontrast.c
|
||||
* modules/cdisplay_proof.c: HIG-ified color display filters.
|
||||
|
||||
2004-05-26 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/paint/gimppaintcore.[ch]: added "guint32 time" parameters
|
||||
|
|
|
@ -150,7 +150,8 @@ gimp_color_display_editor_init (GimpColorDisplayEditor *editor)
|
|||
GtkTreeViewColumn *column;
|
||||
GtkCellRenderer *rend;
|
||||
|
||||
gtk_box_set_spacing (GTK_BOX (editor), 6);
|
||||
gtk_box_set_spacing (GTK_BOX (editor), 12);
|
||||
gtk_box_set_homogeneous (GTK_BOX (editor), TRUE);
|
||||
|
||||
hbox = gtk_hbox_new (FALSE, 6);
|
||||
gtk_box_pack_start (GTK_BOX (editor), hbox, TRUE, TRUE, 0);
|
||||
|
@ -188,12 +189,12 @@ gimp_color_display_editor_init (GimpColorDisplayEditor *editor)
|
|||
G_CALLBACK (gimp_color_display_editor_src_changed),
|
||||
editor);
|
||||
|
||||
vbox = gtk_vbox_new (FALSE, 0);
|
||||
vbox = gtk_vbox_new (TRUE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (hbox), vbox, FALSE, FALSE, 0);
|
||||
gtk_widget_show (vbox);
|
||||
|
||||
editor->add_button = gtk_button_new ();
|
||||
gtk_box_pack_start (GTK_BOX (vbox), editor->add_button, FALSE, FALSE, 16);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), editor->add_button, TRUE, FALSE, 0);
|
||||
gtk_widget_set_sensitive (editor->add_button, FALSE);
|
||||
gtk_widget_show (editor->add_button);
|
||||
|
||||
|
@ -210,7 +211,7 @@ gimp_color_display_editor_init (GimpColorDisplayEditor *editor)
|
|||
editor);
|
||||
|
||||
editor->remove_button = gtk_button_new ();
|
||||
gtk_box_pack_start (GTK_BOX (vbox), editor->remove_button, FALSE, FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), editor->remove_button, TRUE, FALSE, 0);
|
||||
gtk_widget_set_sensitive (editor->remove_button, FALSE);
|
||||
gtk_widget_show (editor->remove_button);
|
||||
|
||||
|
@ -304,7 +305,7 @@ gimp_color_display_editor_init (GimpColorDisplayEditor *editor)
|
|||
/* the config frame */
|
||||
|
||||
editor->config_frame = gimp_frame_new (NULL);
|
||||
gtk_box_pack_start (GTK_BOX (editor), editor->config_frame, FALSE, FALSE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (editor), editor->config_frame, TRUE, TRUE, 0);
|
||||
gtk_widget_show (editor->config_frame);
|
||||
|
||||
editor->config_box = gtk_vbox_new (FALSE, 6);
|
||||
|
|
|
@ -455,7 +455,7 @@ cdisplay_colorblind_configure (GimpColorDisplay *display)
|
|||
if (colorblind->hbox)
|
||||
gtk_widget_destroy (colorblind->hbox);
|
||||
|
||||
colorblind->hbox = gtk_hbox_new (FALSE, 4);
|
||||
colorblind->hbox = gtk_hbox_new (FALSE, 6);
|
||||
|
||||
g_signal_connect (colorblind->hbox, "destroy",
|
||||
G_CALLBACK (gtk_widget_destroyed),
|
||||
|
@ -482,7 +482,7 @@ cdisplay_colorblind_configure (GimpColorDisplay *display)
|
|||
colorblind);
|
||||
|
||||
gtk_box_pack_start (GTK_BOX (colorblind->hbox), colorblind->combo,
|
||||
FALSE, FALSE, 0);
|
||||
TRUE, TRUE, 0);
|
||||
gtk_widget_show (colorblind->combo);
|
||||
|
||||
gtk_label_set_mnemonic_widget (GTK_LABEL (label), colorblind->combo);
|
||||
|
|
|
@ -302,7 +302,7 @@ cdisplay_gamma_configure (GimpColorDisplay *display)
|
|||
if (gamma->hbox)
|
||||
gtk_widget_destroy (gamma->hbox);
|
||||
|
||||
gamma->hbox = gtk_hbox_new (FALSE, 4);
|
||||
gamma->hbox = gtk_hbox_new (FALSE, 6);
|
||||
|
||||
g_signal_connect (gamma->hbox, "destroy",
|
||||
G_CALLBACK (gtk_widget_destroyed),
|
||||
|
|
|
@ -299,7 +299,7 @@ cdisplay_contrast_configure (GimpColorDisplay *display)
|
|||
if (contrast->hbox)
|
||||
gtk_widget_destroy (contrast->hbox);
|
||||
|
||||
contrast->hbox = gtk_hbox_new (FALSE, 4);
|
||||
contrast->hbox = gtk_hbox_new (FALSE, 6);
|
||||
|
||||
g_signal_connect (contrast->hbox, "destroy",
|
||||
G_CALLBACK (gtk_widget_destroyed),
|
||||
|
|
|
@ -303,14 +303,13 @@ cdisplay_proof_configure (GimpColorDisplay *display)
|
|||
gtk_widget_destroy (proof->table);
|
||||
|
||||
proof->table = gtk_table_new (3, 2, FALSE);
|
||||
gtk_table_set_col_spacings (GTK_TABLE (proof->table), 6);
|
||||
gtk_table_set_row_spacings (GTK_TABLE (proof->table), 6);
|
||||
|
||||
g_signal_connect (proof->table, "destroy",
|
||||
G_CALLBACK (gtk_widget_destroyed),
|
||||
&proof->table);
|
||||
|
||||
gtk_table_set_col_spacings (GTK_TABLE (proof->table), 4);
|
||||
gtk_table_set_row_spacings (GTK_TABLE (proof->table), 2);
|
||||
|
||||
proof->combo = gimp_int_combo_box_new (_("Perceptual"),
|
||||
INTENT_PERCEPTUAL,
|
||||
_("Relative Colorimetric"),
|
||||
|
@ -328,13 +327,13 @@ cdisplay_proof_configure (GimpColorDisplay *display)
|
|||
proof);
|
||||
|
||||
gimp_table_attach_aligned (GTK_TABLE (proof->table), 0, 0,
|
||||
_("_Intent:"), 1.0, 0.5,
|
||||
proof->combo, 1, TRUE);
|
||||
_("_Intent:"), 0.0, 0.5,
|
||||
proof->combo, 1, FALSE);
|
||||
|
||||
entry = gimp_file_entry_new (_("Choose an ICC Color Profile"),
|
||||
proof->filename, FALSE, FALSE);
|
||||
gimp_table_attach_aligned (GTK_TABLE (proof->table), 0, 1,
|
||||
_("_Profile:"), 1.0, 0.5,
|
||||
_("_Profile:"), 0.0, 0.5,
|
||||
entry, 1, FALSE);
|
||||
|
||||
g_signal_connect (entry, "filename-changed",
|
||||
|
|
Loading…
Reference in New Issue