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:
@ -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>
|
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
||||||
|
@ -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>
|
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
||||||
|
@ -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>
|
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
||||||
|
@ -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>
|
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
||||||
|
@ -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>
|
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
||||||
|
@ -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>
|
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
||||||
|
@ -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>
|
Mon Jan 25 15:47:46 1999 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
* acinclude.m4 (ac_result): Don't define ENABLE_NLS
|
||||||
|
@ -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_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)))
|
if (GTK_WIDGET_DRAWABLE (GTK_WIDGET (colorsel)))
|
||||||
{
|
gtk_color_selection_draw_wheel_marker (colorsel);
|
||||||
gtk_color_selection_draw_value_bar (colorsel, FALSE);
|
|
||||||
gtk_color_selection_draw_sample (colorsel, FALSE);
|
|
||||||
gtk_color_selection_draw_wheel_marker (colorsel);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -819,8 +818,7 @@ gtk_color_selection_set_opacity (GtkColorSelection *colorsel,
|
|||||||
gtk_widget_show (colorsel->entries[OPACITY]);
|
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
|
static void
|
||||||
|
Reference in New Issue
Block a user