From b96da1a76ead517f8c29128f9e36af34ee1bf6ad Mon Sep 17 00:00:00 2001 From: Zsolt Foldvari Date: Tue, 8 Apr 2008 15:29:03 +0000 Subject: [PATCH] Typo: changing note to preformatted raised exception. svn: r10523 --- src/Editors/_EditNote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editors/_EditNote.py b/src/Editors/_EditNote.py index a367c0f83..d4f25d25a 100644 --- a/src/Editors/_EditNote.py +++ b/src/Editors/_EditNote.py @@ -312,7 +312,7 @@ class EditNote(EditPrimary): def flow_changed(self, active): if active: # 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")) else: # Set the text style to normal