This commit is contained in:
Raymond Penners
2003-09-20 09:56:27 +00:00
parent c0d62354d3
commit e95ad99afe
3 changed files with 36 additions and 30 deletions

View File

@ -1,3 +1,13 @@
2003-09-20 Raymond Penners <raymond@dotsphinx.com>
* === Released 0.4.3 ===
* src/wimp_style.c: The Gaim buddy icons were missing due to
recent tree expander changes, not the clipping area. Fixed.
* src/xp_theme.c: Re-enabled clipping area, I am confident it
should not cause any problems now.
2003-09-18 Raymond Penners <raymond@dotsphinx.com> 2003-09-18 Raymond Penners <raymond@dotsphinx.com>
* === Released 0.4.2 === * === Released 0.4.2 ===

View File

@ -659,13 +659,10 @@ draw_expander(GtkStyle *style,
gdk_gc_get_values (style->fg_gc[state], &values); gdk_gc_get_values (style->fg_gc[state], &values);
if (xp_theme_draw(window, xp_expander, style, if (! xp_theme_draw(window, xp_expander, style,
x, y, x, y,
expander_size, expander_size, state, area)) expander_size, expander_size, state, area))
{ {
return;
}
/* RGB values to emulate Windows Classic style */ /* RGB values to emulate Windows Classic style */
color.red = color.green = color.blue = 128 << 8; color.red = color.green = color.blue = 128 << 8;
@ -695,6 +692,7 @@ draw_expander(GtkStyle *style,
x + expander_semi_size, y + expander_size - 2); x + expander_semi_size, y + expander_size - 2);
break; break;
} }
}
if (area) if (area)
gdk_gc_set_clip_rectangle (style->fg_gc[state], NULL); gdk_gc_set_clip_rectangle (style->fg_gc[state], NULL);

View File

@ -608,7 +608,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
rect.right = rect.left + width; rect.right = rect.left + width;
rect.bottom = rect.top + height; rect.bottom = rect.top + height;
#if 0
if (area) if (area)
{ {
clip.left = area->x - xoff; clip.left = area->x - xoff;
@ -619,7 +618,6 @@ xp_theme_draw(GdkWindow *win, XpThemeElement element, GtkStyle *style,
pClip = &clip; pClip = &clip;
} }
else else
#endif
{ {
pClip = NULL; pClip = NULL;
} }