Use icon's instead of image's fill_type when type is META_DRAW_ICON.

2002-06-04  Gustavo Girldez  <gustavo.giraldez@gmx.net>

	* src/theme.c (draw_op_as_pixbuf): Use icon's instead of image's
	fill_type when type is META_DRAW_ICON.
This commit is contained in:
Gustavo Girldez 2002-06-04 12:35:34 +00:00 committed by Gustavo Giráldez
parent ac31a7f143
commit 6617781f4f
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-06-04 Gustavo Giráldez <gustavo.giraldez@gmx.net>
* src/theme.c (draw_op_as_pixbuf): Use icon's instead of image's
fill_type when type is META_DRAW_ICON.
2002-06-03 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_new): don't automatically fullscreen

View File

@ -2869,12 +2869,12 @@ draw_op_as_pixbuf (const MetaDrawOp *op,
height <= gdk_pixbuf_get_height (info->mini_icon))
pixbuf = scale_and_alpha_pixbuf (info->mini_icon,
op->data.icon.alpha_spec,
op->data.image.fill_type,
op->data.icon.fill_type,
width, height);
else if (info->icon)
pixbuf = scale_and_alpha_pixbuf (info->icon,
op->data.icon.alpha_spec,
op->data.image.fill_type,
op->data.icon.fill_type,
width, height);
break;