diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-06-16 14:39:43 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2011-06-16 14:39:43 (GMT) |
commit | 07483c0b16feb3038a93bfa9e109079bd848f3cb (patch) | |
tree | 0f342c70df5bb0c0fb4ff34ac9a9294b0a9af076 /Area.py | |
parent | 1aba0927adaa4ed5f6e9e74f30171b6df2c79d7b (diff) |
Center image in the canvas - SL #2896
Signed-off-by: manuel quiƱones <manuel.por.aca@gmail.com>
Acked-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Area.py')
-rw-r--r-- | Area.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1155,6 +1155,7 @@ class Area(gtk.DrawingArea): self.pixmap_temp.draw_pixbuf(self.gc, temp_pix, 0, 0, 0, 0, height, width, dither=gtk.gdk.RGB_DITHER_NORMAL, x_dither=0, y_dither=0) + self.janela.center_area() del temp_pix |