diff options
author | cinamod <cinamod> | 2003-12-01 18:56:34 +0000 |
---|---|---|
committer | cinamod <cinamod> | 2003-12-01 18:56:34 +0000 |
commit | 4f42c35a0ca30ad07a1e63ce4e0eed5fc3697cd4 (patch) | |
tree | 093991acb0252987a108400070d97b6b95f004a5 /modules | |
parent | 3efec0d69eec1dc2a64988aead1ae91397914a34 (diff) | |
download | gtk+-4f42c35a0ca30ad07a1e63ce4e0eed5fc3697cd4.tar.gz |
fix expander's +/- part coloration
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 bd82d3b67b..b3140cea7f 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 23c0dd0e44..4a12cd8af8 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) |