Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Desenho.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-08-30 19:28:46 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-09-04 17:58:46 (GMT)
commite7d278fc4e6a99a0efe054f7c48cafa8c413a5c1 (patch)
tree67216c4ded24de94f954021b151aa12cf04b1304 /Desenho.py
parentcc8e58ab28d38e3962b19b521534097b5714fb7f (diff)
Fix rotation of selections
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'Desenho.py')
-rw-r--r--Desenho.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Desenho.py b/Desenho.py
index e110aa2..35367c0 100644
--- a/Desenho.py
+++ b/Desenho.py
@@ -659,12 +659,7 @@ class Desenho:
if widget.pending_clean_selection_background:
# clear the selection background
- widget.drawing_ctx.save()
- widget.drawing_ctx.new_path()
- widget.drawing_ctx.rectangle(x, y, width, height)
- widget.drawing_ctx.set_source_rgb(1.0, 1.0, 1.0)
- widget.drawing_ctx.fill()
- widget.drawing_ctx.restore()
+ widget.clear_selection_background()
widget.pending_clean_selection_background = False
selection_surface = widget.get_selection()