Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2011-06-16 14:39:43 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2011-06-16 14:39:43 (GMT)
commit07483c0b16feb3038a93bfa9e109079bd848f3cb (patch)
tree0f342c70df5bb0c0fb4ff34ac9a9294b0a9af076 /Area.py
parent1aba0927adaa4ed5f6e9e74f30171b6df2c79d7b (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.py1
1 files changed, 1 insertions, 0 deletions
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