draw pixbuf at the corect place in cell_renderer_image. Fixes #3775

This commit is contained in:
Yann Leboulanger 2008-03-18 12:26:32 +00:00
parent d32e1ae0ed
commit 80aeea1bd0
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class CellRendererImage(gtk.GenericCellRenderer):
window.draw_pixbuf(widget.style.black_gc, pix,
draw_rect.x - pix_rect.x,
draw_rect.y - pix_rect.y,
draw_rect.x, draw_rect.y + 2,
draw_rect.x, draw_rect.y,
draw_rect.width, draw_rect.height,
gtk.gdk.RGB_DITHER_NONE, 0, 0)