Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Desenho.py
diff options
context:
space:
mode:
Diffstat (limited to 'Desenho.py')
-rw-r--r--Desenho.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/Desenho.py b/Desenho.py
index e05a907..01d5002 100644
--- a/Desenho.py
+++ b/Desenho.py
@@ -685,8 +685,6 @@ class Desenho:
@param pixbuf_copy -- For import image
"""
- widget.desenha = True
-
dx = int(coords[0] - widget.oldx)
dy = int(coords[1] - widget.oldy)
@@ -704,18 +702,7 @@ class Desenho:
if width_scale < 0 or height_scale < 0:
return
- # Add a timer for resize or update it if there is one already:
- if self._resize_timer is not None:
- GObject.source_remove(self._resize_timer)
- self._resize_timer = GObject.timeout_add(RESIZE_DELAY,
- self._do_resize, widget, width_scale, height_scale)
-
- def _do_resize(self, widget, width_scale, height_scale):
-# """Do the resize calculation.
-# """
- widget.desenha = True
widget.resize_selection_surface(width_scale, height_scale)
- widget.queue_draw()
def freeform(self, widget, coords, temp, fill, param=None):
"""Draw polygon.