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 /Desenho.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 'Desenho.py')
-rw-r--r-- | Desenho.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -589,8 +589,8 @@ class Desenho: if not widget.text_in_progress: widget.text_in_progress = True - widget.janela.fixed.move(widget.janela.textview, - int(event.x), int(event.y)) + x, y = int(event.x), int(event.y) + widget.janela.move_textview(x, y) widget.janela.textview.show() widget.janela.textview.grab_focus() |