diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/engines/ms-windows/ChangeLog.old | 5 | ||||
-rwxr-xr-x | modules/engines/ms-windows/wimp_style.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/modules/engines/ms-windows/ChangeLog.old b/modules/engines/ms-windows/ChangeLog.old index bd82d3b67..b3140cea7 100755 --- a/modules/engines/ms-windows/ChangeLog.old +++ b/modules/engines/ms-windows/ChangeLog.old @@ -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,
diff --git a/modules/engines/ms-windows/wimp_style.c b/modules/engines/ms-windows/wimp_style.c index 23c0dd0e4..4a12cd8af 100755 --- a/modules/engines/ms-windows/wimp_style.c +++ b/modules/engines/ms-windows/wimp_style.c @@ -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) |