Commit 452dfcb0 authored by cinamod's avatar cinamod
Browse files

draw handle box tearoffs properly now in XP mode

parent c92d4d67
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 ===
......
...@@ -1424,12 +1424,6 @@ draw_box (GtkStyle *style, ...@@ -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, ...@@ -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;
......
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