Removed some GTK_WIDGET_DRAWABLE() tests - we need to update the value

Mon Jan 25 17:48:03 1999  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
	tests - we need to update the value bar's contents
	even when the widget is unmapped.
This commit is contained in:
Owen Taylor 1999-01-25 22:43:50 +00:00 committed by Owen Taylor
parent 7d5e1b0ccf
commit 08f1e8098f
8 changed files with 47 additions and 7 deletions

View File

@ -1,3 +1,9 @@
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
tests - we need to update the value bar's contents
even when the widget is unmapped.
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 (ac_result): Don't define ENABLE_NLS

View File

@ -1,3 +1,9 @@
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
tests - we need to update the value bar's contents
even when the widget is unmapped.
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 (ac_result): Don't define ENABLE_NLS

View File

@ -1,3 +1,9 @@
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
tests - we need to update the value bar's contents
even when the widget is unmapped.
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 (ac_result): Don't define ENABLE_NLS

View File

@ -1,3 +1,9 @@
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
tests - we need to update the value bar's contents
even when the widget is unmapped.
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 (ac_result): Don't define ENABLE_NLS

View File

@ -1,3 +1,9 @@
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
tests - we need to update the value bar's contents
even when the widget is unmapped.
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 (ac_result): Don't define ENABLE_NLS

View File

@ -1,3 +1,9 @@
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
tests - we need to update the value bar's contents
even when the widget is unmapped.
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 (ac_result): Don't define ENABLE_NLS

View File

@ -1,3 +1,9 @@
Mon Jan 25 17:48:03 1999 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c: Removed some GTK_WIDGET_DRAWABLE()
tests - we need to update the value bar's contents
even when the widget is unmapped.
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
* acinclude.m4 (ac_result): Don't define ENABLE_NLS

View File

@ -490,12 +490,11 @@ gtk_color_selection_set_color (GtkColorSelection *colorsel,
gtk_color_selection_update_inputs (colorsel, RGB_INPUTS | HSV_INPUTS | OPACITY_INPUTS, BOTH);
gtk_color_selection_draw_value_bar (colorsel, FALSE);
gtk_color_selection_draw_sample (colorsel, FALSE);
if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (colorsel)))
{
gtk_color_selection_draw_value_bar (colorsel, FALSE);
gtk_color_selection_draw_sample (colorsel, FALSE);
gtk_color_selection_draw_wheel_marker (colorsel);
}
gtk_color_selection_draw_wheel_marker (colorsel);
}
void
@ -819,8 +818,7 @@ gtk_color_selection_set_opacity (GtkColorSelection *colorsel,
gtk_widget_show (colorsel->entries[OPACITY]);
}
if (GTK_WIDGET_DRAWABLE (colorsel->sample_area))
gtk_color_selection_draw_sample (colorsel, FALSE);
gtk_color_selection_draw_sample (colorsel, FALSE);
}
static void