Commit 4f42c35a authored by cinamod's avatar cinamod

fix expander's +/- part coloration

parent 3efec0d6
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,
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment