From 1bbb5d6996db99b348dc4633be17f26e4d0adc8c Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 6 Jul 2009 18:18:22 +0000 Subject: [PATCH] Fix of issue 3087. svn: r12769 --- src/DisplayTabs/_NoteModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DisplayTabs/_NoteModel.py b/src/DisplayTabs/_NoteModel.py index c30b14eba..6bef30d4c 100644 --- a/src/DisplayTabs/_NoteModel.py +++ b/src/DisplayTabs/_NoteModel.py @@ -39,7 +39,7 @@ class NoteModel(gtk.ListStore): self.db = db for handle in note_list: note = self.db.get_note_from_handle(handle) - text = note.get().replace('\n', ' ') + text = unicode(note.get().replace('\n', ' ')) if len(text) > 80: text = text[:80]+"..." self.append(row=[