Fix of issue 3087.

svn: r12768
This commit is contained in:
Peter Landgren 2009-07-06 18:17:07 +00:00
parent 494311f234
commit 9d055bb444

View File

@ -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=[