Commit a320ceea authored by Andy Hertzfeld's avatar Andy Hertzfeld

disabled icon centering code that was causing glitchy updates


       disabled icon centering code that was causing glitchy updates
parent 6d5f07d8
2000-01-25 Andy Hertzfeld <andy@eazel.com>
* libnautilus/nautilus-icons-view-icon-item.c
disabled icon centering code that was causing glitchey updates
2000-01-25 Darin Adler <darin@eazel.com>
* libnautilus/gnome-icon-container-dnd.c:
......
......@@ -695,7 +695,8 @@ nautilus_icons_view_icon_item_draw (GnomeCanvasItem *item, GdkDrawable *drawable
{
gint box_width = floor(item->x2 - item->x1);
gint center_offset = (box_width - priv->pixbuf->art_pixbuf->width) >> 1;
center_offset = 0; /* disabled for now, as it was causing glitches */
gnome_canvas_item_i2c_affine (item, i2c);
compute_render_affine (icon_view_item, render_affine, i2c);
......
......@@ -695,7 +695,8 @@ nautilus_icons_view_icon_item_draw (GnomeCanvasItem *item, GdkDrawable *drawable
{
gint box_width = floor(item->x2 - item->x1);
gint center_offset = (box_width - priv->pixbuf->art_pixbuf->width) >> 1;
center_offset = 0; /* disabled for now, as it was causing glitches */
gnome_canvas_item_i2c_affine (item, i2c);
compute_render_affine (icon_view_item, render_affine, i2c);
......
......@@ -695,7 +695,8 @@ nautilus_icons_view_icon_item_draw (GnomeCanvasItem *item, GdkDrawable *drawable
{
gint box_width = floor(item->x2 - item->x1);
gint center_offset = (box_width - priv->pixbuf->art_pixbuf->width) >> 1;
center_offset = 0; /* disabled for now, as it was causing glitches */
gnome_canvas_item_i2c_affine (item, i2c);
compute_render_affine (icon_view_item, render_affine, i2c);
......
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