draw handle box tearoffs properly now in XP mode

This commit is contained in:
cinamod 2004-08-13 16:56:30 +00:00
parent c92d4d6786
commit 452dfcb081
2 changed files with 6 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2004-08-13 Dom Lachowicz <cinamod@hotmail.com>
* src/msw_style.c: Proper gripper drawing for handle boxes/toolbars
* src/Theme/gtk-2.0/gtkrc: HandleBoxes and Toolbars are etched-in now
2004-07-02 Raymond Penners <raymond@dotsphinx.com> 2004-07-02 Raymond Penners <raymond@dotsphinx.com>
* === Released 0.6.1 === * === Released 0.6.1 ===

View File

@ -1424,12 +1424,6 @@ draw_box (GtkStyle *style,
} }
} }
} }
else if (detail && !strcmp (detail, "handlebox_bin")) {
if (xp_theme_draw (window, XP_THEME_ELEMENT_REBAR, style, x, y, width, height, state_type, area))
{
return;
}
}
else if (detail && strcmp (detail, "menuitem") == 0) { else if (detail && strcmp (detail, "menuitem") == 0) {
shadow_type = GTK_SHADOW_NONE; shadow_type = GTK_SHADOW_NONE;
if (xp_theme_draw (window, XP_THEME_ELEMENT_MENU_ITEM, style, x, y, width, height, state_type, area)) if (xp_theme_draw (window, XP_THEME_ELEMENT_MENU_ITEM, style, x, y, width, height, state_type, area))
@ -1804,7 +1798,7 @@ draw_handle (GtkStyle *style,
gint height, gint height,
GtkOrientation orientation) GtkOrientation orientation)
{ {
if (! GTK_IS_HANDLE_BOX (widget)) if (GTK_IS_HANDLE_BOX (widget))
{ {
XpThemeElement hndl; XpThemeElement hndl;