Typo: changing note to preformatted raised exception.

svn: r10523
This commit is contained in:
Zsolt Foldvari 2008-04-08 15:29:03 +00:00
parent d4311078f0
commit b96da1a76e

View File

@ -312,7 +312,7 @@ class EditNote(EditPrimary):
def flow_changed(self, active): def flow_changed(self, active):
if active: if active:
# Set the text style to monospace # Set the text style to monospace
self.text.set_wrap_mode(gtk.WRAP_NONE) self.texteditor.set_wrap_mode(gtk.WRAP_NONE)
self.texteditor.modify_font(pango.FontDescription("monospace")) self.texteditor.modify_font(pango.FontDescription("monospace"))
else: else:
# Set the text style to normal # Set the text style to normal