Scrollbar fixes

This commit is contained in:
Raymond Penners
2003-10-17 18:00:44 +00:00
parent 7c4b8aef83
commit a0628bab9a
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-17 Raymond Penners <raymond@dotsphinx.com>
* src/wimp_style.c: Horizontal/vertical scrollbars were mixed up,
fixed.
2003-04-15 Arnaud Charlet <charlet@ACT-Europe.FR>
* src/*.c: The handling of selected radio button was broken.

View File

@ -1146,7 +1146,7 @@ draw_box (GtkStyle *style,
{
GtkScrollbar * scrollbar = GTK_SCROLLBAR(widget);
if (xp_theme_draw(window,
(! GTK_IS_VSCROLLBAR(widget))
(GTK_IS_VSCROLLBAR(widget))
? XP_THEME_ELEMENT_SCROLLBAR_V
: XP_THEME_ELEMENT_SCROLLBAR_H,
style, x, y, width, height, state_type, area))