* src/NoteEdit.py: Unicode conversion from gtk.TextView.
svn: r2537
This commit is contained in:
parent
9f84452198
commit
67736d2f3d
@ -1,5 +1,6 @@
|
|||||||
2003-12-17 Alex Roitman <shura@alex.neuro.umn.edu>
|
2003-12-17 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/Sources.py: Unicode conversion from gtk.TextView.
|
* 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/Witness.py: Unicode conversion from gtk.TextView.
|
||||||
* src/Report.py: Unicode conversion from gtk.TextView.
|
* src/Report.py: Unicode conversion from gtk.TextView.
|
||||||
* src/NameEdit.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
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# $Id$
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# GTK/Gnome modules
|
# GTK/Gnome modules
|
||||||
@ -85,8 +87,8 @@ class NoteEditor:
|
|||||||
def on_save_note_clicked(self):
|
def on_save_note_clicked(self):
|
||||||
"""Saves the note and closes the window"""
|
"""Saves the note and closes the window"""
|
||||||
buffer = self.entry.get_buffer()
|
buffer = self.entry.get_buffer()
|
||||||
text = buffer.get_text(buffer.get_start_iter(),
|
text = unicode(buffer.get_text(buffer.get_start_iter(),
|
||||||
buffer.get_end_iter(),gtk.FALSE)
|
buffer.get_end_iter(),gtk.FALSE))
|
||||||
if text != self.data.getNote():
|
if text != self.data.getNote():
|
||||||
self.data.setNote(text)
|
self.data.setNote(text)
|
||||||
Utils.modified()
|
Utils.modified()
|
||||||
|
Loading…
Reference in New Issue
Block a user