Commit ec765b24 authored by Cody Russell's avatar Cody Russell Committed by Cody Russell

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
parent 6bcbcf06
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)
2007-08-23 Cody Russell <bratsche@gnome.org>
* gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment