Bug 411118 - bad bevel for progress bar on windows classic. Match from

2007-02-23  Dom Lachowicz  <domlachowicz@gmail.com>

        * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
        progress bar on windows classic. Match from Mathias Hasselmann.


svn path=/trunk/; revision=17344
This commit is contained in:
Dom Lachowicz 2007-02-23 16:30:05 +00:00 committed by Dom Lachowicz
parent 8e2decb551
commit 0a9f941758
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
* modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
progress bar on windows classic. Match from Mathias Hasselmann.
2007-02-19 Tor Lillqvist <tml@novell.com> 2007-02-19 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkinput.c * gdk/win32/gdkinput.c

View File

@ -2052,12 +2052,14 @@ draw_box (GtkStyle * style,
GtkProgressBar *progress_bar = GTK_PROGRESS_BAR (widget); GtkProgressBar *progress_bar = GTK_PROGRESS_BAR (widget);
XpThemeElement xp_progress_bar = XpThemeElement xp_progress_bar =
map_gtk_progress_bar_to_xp (progress_bar, FALSE); map_gtk_progress_bar_to_xp (progress_bar, FALSE);
if (xp_theme_draw
(window, xp_progress_bar, style, x, y, width, height, if (xp_theme_draw (window, xp_progress_bar, style, x, y,
state_type, area)) width, height, state_type, area))
{ {
return; return;
} }
shadow_type = GTK_SHADOW_NONE;
} }
} }
else if (detail && strcmp (detail, "menuitem") == 0) else if (detail && strcmp (detail, "menuitem") == 0)