Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Area.py
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2012-05-29 14:27:30 (GMT)
committer Manuel QuiƱones <manuq@laptop.org>2012-05-29 16:38:55 (GMT)
commitd20721442caa22d89f83b6c43d35d3aafae3f4bc (patch)
tree4fc8b065301cb7598ccbb93aa75945fb1dc0f32c /Area.py
parentc3f861514b5b5139b90f9f9c582e095006e744ad (diff)
Target rectangle in Stamp at first usage SL #3602
Show the target rectangle inmediatly when the Stamp tool is selected and don't remove the sensitive of the Stamp tool button if it's being used. Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
Diffstat (limited to 'Area.py')
-rw-r--r--Area.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Area.py b/Area.py
index b889974..d8997a1 100644
--- a/Area.py
+++ b/Area.py
@@ -786,6 +786,9 @@ class Area(gtk.DrawingArea):
self.resized_stamp = self.pixbuf_stamp.scale_simple(wr, hr,
gtk.gdk.INTERP_HYPER)
+ # Remove selected area
+ self.getout()
+
return self.resized_stamp
def undo(self):