forked from AuroraMiddleware/gtk
draw handle box tearoffs properly now in XP mode
This commit is contained in:
parent
c92d4d6786
commit
452dfcb081
@ -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 ===
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user