* src/NoteEdit.py: Unicode conversion from gtk.TextView.
svn: r2537
This commit is contained in:
parent
112addeef6
commit
d662df34db
@ -1,5 +1,6 @@
|
||||
2003-12-17 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* 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.
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user