mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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:
parent
8e2decb551
commit
0a9f941758
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user