Correct draw_box() function to check detail for "notebook". This fixes a
2007-08-27 Cody Russell <bratsche@gnome.org> * modules/engines/ms-windows/msw_style.c: Correct draw_box() function to check detail for "notebook". This fixes a problem where notebooks without visible headers were not styling correctly. (#470033, Daniel Atallah and Cody Russell) svn path=/trunk/; revision=18689
This commit is contained in:
committed by
Cody Russell
parent
6bcbcf061b
commit
ec765b2492
@ -2155,6 +2155,17 @@ draw_box (GtkStyle * style,
|
||||
return;
|
||||
}
|
||||
}
|
||||
else if (detail && !strcmp (detail, "notebook") && GTK_IS_NOTEBOOK (widget))
|
||||
{
|
||||
GtkNotebook *notebook = GTK_NOTEBOOK (widget);
|
||||
|
||||
if (xp_theme_draw (window, XP_THEME_ELEMENT_TAB_PANE, style,
|
||||
x, y, width, height, state_type, area))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
const gchar *name = gtk_widget_get_name (widget);
|
||||
|
||||
Reference in New Issue
Block a user