looks slightly better with dark/light GCs

This commit is contained in:
Sven Neumann
2005-09-20 16:00:00 +00:00
parent 2597375a57
commit 70adf09d4d

View File

@ -345,7 +345,7 @@ gimp_color_scale_expose (GtkWidget *widget,
gc = (GTK_WIDGET_IS_SENSITIVE (widget) ?
widget->style->black_gc :
widget->style->mid_gc[GTK_STATE_INSENSITIVE]);
widget->style->dark_gc[GTK_STATE_INSENSITIVE]);
gdk_gc_set_clip_rectangle (gc, &expose_area);
switch (range->orientation)
@ -365,7 +365,7 @@ gimp_color_scale_expose (GtkWidget *widget,
gc = (GTK_WIDGET_IS_SENSITIVE (widget) ?
widget->style->white_gc :
widget->style->mid_gc[GTK_STATE_INSENSITIVE]);
widget->style->light_gc[GTK_STATE_INSENSITIVE]);
gdk_gc_set_clip_rectangle (gc, &expose_area);
switch (range->orientation)