Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/editlessonscreen.py
diff options
context:
space:
mode:
authorWade Brainerd <wadetb@gmail.com>2009-09-19 10:41:09 (GMT)
committer Wade Brainerd <wadetb@gmail.com>2009-09-19 10:41:09 (GMT)
commit271de1bcb40a2ee7eb63319c5dfab30713664120 (patch)
tree5bfa731e57aab855cd7124e278115e56bb997346 /editlessonscreen.py
parenta44bdf24e518e5287ee0d1e7e8fee974616b9d16 (diff)
Bump version to 21.
Diffstat (limited to 'editlessonscreen.py')
-rw-r--r--editlessonscreen.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/editlessonscreen.py b/editlessonscreen.py
index 83040aa..9234fd9 100644
--- a/editlessonscreen.py
+++ b/editlessonscreen.py
@@ -113,6 +113,7 @@ class EditLessonScreen(gtk.VBox):
stepbox.insttext = gtk.TextView(gtk.TextBuffer())
stepbox.insttext.props.wrap_mode = gtk.WRAP_WORD
+ stepbox.insttext.modify_font(pango.FontDescription('Monospace 10'))
instscroll = gtk.ScrolledWindow()
instscroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
instscroll.add(stepbox.insttext)
@@ -132,6 +133,7 @@ class EditLessonScreen(gtk.VBox):
stepbox.texttext = gtk.TextView(gtk.TextBuffer())
stepbox.texttext.props.wrap_mode = gtk.WRAP_WORD
+ stepbox.texttext.modify_font(pango.FontDescription('monospace 10'))
textscroll = gtk.ScrolledWindow()
textscroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
textscroll.add(stepbox.texttext)
@@ -293,6 +295,7 @@ class EditLessonScreen(gtk.VBox):
self.wordstext = gtk.TextView(gtk.TextBuffer())
self.wordstext.props.wrap_mode = gtk.WRAP_WORD
+ self.wordstext.modify_font(pango.FontDescription('Monospace 10'))
textscroll = gtk.ScrolledWindow()
textscroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
textscroll.add(self.wordstext)