Fix of issue 3087.

svn: r12769
This commit is contained in:
Peter Landgren 2009-07-06 18:18:22 +00:00
parent f213382d3a
commit 1bbb5d6996

View File

@ -39,7 +39,7 @@ class NoteModel(gtk.ListStore):
self.db = db self.db = db
for handle in note_list: for handle in note_list:
note = self.db.get_note_from_handle(handle) note = self.db.get_note_from_handle(handle)
text = note.get().replace('\n', ' ') text = unicode(note.get().replace('\n', ' '))
if len(text) > 80: if len(text) > 80:
text = text[:80]+"..." text = text[:80]+"..."
self.append(row=[ self.append(row=[