mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
ac31a7f143
commit
6617781f4f
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user