From 07483c0b16feb3038a93bfa9e109079bd848f3cb Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Thu, 16 Jun 2011 14:39:43 +0000 Subject: Center image in the canvas - SL #2896 Signed-off-by: manuel quiƱones Acked-by: Gonzalo Odiard --- (limited to 'Area.py') diff --git a/Area.py b/Area.py index 1fa9ae4..43e1fd0 100644 --- a/Area.py +++ b/Area.py @@ -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 -- cgit v0.9.1