mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
fix bug 852354
This commit is contained in:
parent
700335123a
commit
7b61ec8c3b
@ -1,3 +1,7 @@
|
|||||||
|
2003-12-30 Dom Lachowicz <cinamod@hotmail.com>
|
||||||
|
|
||||||
|
* src/wimp_style.c: Fix bug 852354 to my liking
|
||||||
|
|
||||||
2003-12-01 Dom Lachowicz <cinamod@hotmail.com>
|
2003-12-01 Dom Lachowicz <cinamod@hotmail.com>
|
||||||
|
|
||||||
* src/wimp_style.c: Fix coloration for the expander's +/- part. Was
|
* src/wimp_style.c: Fix coloration for the expander's +/- part. Was
|
||||||
|
@ -1383,7 +1383,7 @@ draw_box (GtkStyle *style,
|
|||||||
/* Blank in classic Windows */
|
/* Blank in classic Windows */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (widget && GTK_IS_SCROLLBAR(widget))
|
||||||
{
|
{
|
||||||
gboolean is_vertical = GTK_IS_VSCROLLBAR(widget);
|
gboolean is_vertical = GTK_IS_VSCROLLBAR(widget);
|
||||||
|
|
||||||
@ -1430,6 +1430,20 @@ draw_box (GtkStyle *style,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (widget && GTK_IS_SCALE(widget))
|
||||||
|
{
|
||||||
|
gboolean is_vertical = GTK_IS_VSCALE(widget);
|
||||||
|
|
||||||
|
parent_class->draw_box (style, window, state_type, GTK_SHADOW_NONE, area,
|
||||||
|
widget, detail, x, y, width, height);
|
||||||
|
|
||||||
|
if(is_vertical)
|
||||||
|
parent_class->draw_box(style, window, state_type, GTK_SHADOW_ETCHED_IN, area, NULL, NULL, (2 * x + width)/2, y, 1, height);
|
||||||
|
else
|
||||||
|
parent_class->draw_box(style, window, state_type, GTK_SHADOW_ETCHED_IN, area, NULL, NULL, x, (2 * y + height)/2, width, 1);
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (detail && strcmp (detail, "optionmenu") == 0)
|
else if (detail && strcmp (detail, "optionmenu") == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user