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@sugarlabs.org>2011-04-08 20:32:45 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2011-04-08 20:32:45 (GMT)
commit1cbc7b2a88db47101cdd22aa32519946c877997c (patch)
treed9929b73d2b532189ff5ca2856f45a7c442b56e7 /Desenho.py
parentb7f251ae0d4250ffe7571733c3b2e0578dc4c422 (diff)
Implement a custom widget to show in the toolbar the brush shape, color and size
Diffstat (limited to 'Desenho.py')
-rw-r--r--Desenho.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Desenho.py b/Desenho.py
index 9b4c771..4f8f196 100644
--- a/Desenho.py
+++ b/Desenho.py
@@ -587,7 +587,7 @@ class Desenho:
layout = widget.janela.textview.create_pango_layout(text)
- widget.pixmap.draw_layout(widget.gc,
+ widget.pixmap.draw_layout(widget.gc_brush,
widget.oldx, widget.oldy, layout)
widget.pixmap_temp.draw_layout(widget.gc,
widget.oldx, widget.oldy, layout)