diff options
author | Cody Russell <bratsche@src.gnome.org> | 2007-04-19 17:24:57 +0000 |
---|---|---|
committer | Cody Russell <bratsche@src.gnome.org> | 2007-04-19 17:24:57 +0000 |
commit | cb47788d27fef553413682249bf62e618f3ae4a6 (patch) | |
tree | f1bfb327a70e595b0c410d2d5d588f4bf616b465 /modules | |
parent | 2bb4433af7a589f15edfbcfdf6bd47701b948ccb (diff) | |
download | gtk+-cb47788d27fef553413682249bf62e618f3ae4a6.tar.gz |
Fix menuitem rendering in Vista
svn path=/trunk/; revision=17614
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/engines/ms-windows/msw_style.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/engines/ms-windows/msw_style.c b/modules/engines/ms-windows/msw_style.c index bb149d86f1..51a9e2e367 100755 --- a/modules/engines/ms-windows/msw_style.c +++ b/modules/engines/ms-windows/msw_style.c @@ -1717,13 +1717,9 @@ draw_menu_item(GdkWindow* window, GtkWidget* widget, GtkStyle* style, HDC dc; RECT rect; - if ( xp_theme_is_active() ) { - return xp_theme_draw( window, XP_THEME_ELEMENT_MENU_ITEM, style, - x, y, width, height, state_type, area ); - } - if( (parent = gtk_widget_get_parent(widget)) - && GTK_IS_MENU_BAR(parent) ) + && GTK_IS_MENU_BAR(parent) + && !xp_theme_is_active() ) { bar = GTK_MENU_SHELL(parent); |