mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
fix expander's +/- part coloration
This commit is contained in:
parent
3efec0d69e
commit
4f42c35a0c
@ -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,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user