diff --git a/ChangeLog b/ChangeLog index c70bc2c8d..9a1586b74 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2003-12-17 Alex Roitman * src/Sources.py: Unicode conversion from gtk.TextView. + * src/NoteEdit.py: Unicode conversion from gtk.TextView. * src/Witness.py: Unicode conversion from gtk.TextView. * src/Report.py: Unicode conversion from gtk.TextView. * src/NameEdit.py: Unicode conversion from gtk.TextView. diff --git a/src/NoteEdit.py b/src/NoteEdit.py index c77c747e9..8960128d2 100644 --- a/src/NoteEdit.py +++ b/src/NoteEdit.py @@ -18,6 +18,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +# $Id$ + #------------------------------------------------------------------------- # # GTK/Gnome modules @@ -85,8 +87,8 @@ class NoteEditor: def on_save_note_clicked(self): """Saves the note and closes the window""" buffer = self.entry.get_buffer() - text = buffer.get_text(buffer.get_start_iter(), - buffer.get_end_iter(),gtk.FALSE) + text = unicode(buffer.get_text(buffer.get_start_iter(), + buffer.get_end_iter(),gtk.FALSE)) if text != self.data.getNote(): self.data.setNote(text) Utils.modified()