fix expander's +/- part coloration

This commit is contained in:
cinamod 2003-12-01 18:56:34 +00:00
parent 3efec0d69e
commit 4f42c35a0c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2003-12-01 Dom Lachowicz <cinamod@hotmail.com>
* src/wimp_style.c: Fix coloration for the expander's +/- part. Was
the wrong color when selected or selected+insensitive
2003-11-26 Dom Lachowicz <cinamod@hotmail.com>
* src/wimp_style.c: Fix coloration for several GIMP widgets,

View File

@ -898,9 +898,6 @@ draw_expander(GtkStyle *style,
(window, style->fg_gc[state], FALSE, x, y,
expander_size - 1, expander_size - 1);
if (success)
gdk_gc_set_foreground (style->fg_gc[state], &values.foreground);
gdk_draw_line
(window, style->fg_gc[state], x + 2, y + expander_semi_size,
x + expander_size - 2, y + expander_semi_size);
@ -914,6 +911,9 @@ draw_expander(GtkStyle *style,
x + expander_semi_size, y + expander_size - 2);
break;
}
if (success)
gdk_gc_set_foreground (style->fg_gc[state], &values.foreground);
}
if (area)