From 57006ccfbecc66767848cb68a29cd098217ca7c6 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Wed, 30 Jun 2010 07:10:12 +0000 Subject: [PATCH] Some unnecessary unicode conversion cleanup after fix of issue 4078. svn: r15603 --- src/gui/plug/_guioptions.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/plug/_guioptions.py b/src/gui/plug/_guioptions.py index c93c85da7..9bc34d360 100644 --- a/src/gui/plug/_guioptions.py +++ b/src/gui/plug/_guioptions.py @@ -701,9 +701,7 @@ class GuiNoteOption(gtk.HBox): """ if note: note_id = note.get_gramps_id() - txt = " ".join(note.get().split()) - #String must be unicode for truncation to work for non ascii characters - txt = unicode(txt) + txt = u" ".join(note.get().split()) if len(txt) > 35: txt = txt[:35] + "..." txt = "%s [%s]" % (txt, note_id)