mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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:
parent
7d5e1b0ccf
commit
08f1e8098f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user