Fix of issue 3087.
svn: r12769
This commit is contained in:
parent
f213382d3a
commit
1bbb5d6996
@ -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=[
|
||||||
|
Loading…
Reference in New Issue
Block a user