diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-12-03 18:36:43 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-12-03 18:36:43 (GMT) |
commit | 4676bf91fcb79a602110f1fe6c6a5759eab3502f (patch) | |
tree | 7a8f7f77e770362930f8c0b60048480069fda51b /Area.py | |
parent | bcc5e519a708de0bef82fbbee7def5c557a376f5 (diff) |
Implement change the size, font and attributes in the Text Tool. - OLPC #2501 and OLPC #3707
Diffstat (limited to 'Area.py')
-rw-r--r-- | Area.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -178,7 +178,10 @@ class Area(gtk.DrawingArea): 'rectangle': False, 'ellipse': False} - self.font = pango.FontDescription('Sans 9') + self.font_description = pango.FontDescription() + self.font_description.set_family('Sans') + self.font_description.set_size(12) + self._set_selection_bounds(0, 0, 0, 0) #start of UNDO and REDO |