* src/EditPerson.py (did_data_change): Add a unicode conversion to the

surname string.


svn: r1965
This commit is contained in:
Alex Roitman 2003-08-07 04:38:06 +00:00
parent 3a7293dd47
commit f96554424a
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,8 @@
const.display_fevent(); (on_event_update_clicked): Likewise. const.display_fevent(); (on_event_update_clicked): Likewise.
* src/EventEdit.py (EventEditor.__init__): Call self.trans() before * src/EventEdit.py (EventEditor.__init__): Call self.trans() before
displaying event name. displaying event name.
* src/EditPerson.py (did_data_change): Add a unicode conversion to the
surname string.
2003-08-05 Tim Waugh <twaugh@redhat.com> 2003-08-05 Tim Waugh <twaugh@redhat.com>
* src/Report.py, src/TextDoc.py, src/DrawDoc.py: Adjusted the way * src/Report.py, src/TextDoc.py, src/DrawDoc.py: Adjusted the way

View File

@ -919,7 +919,7 @@ class EditPerson:
def did_data_change(self): def did_data_change(self):
"""Check to see if any of the data has changed from the """Check to see if any of the data has changed from the
original record""" original record"""
surname = self.surname_field.get_text() surname = unicode(self.surname_field.get_text())
if GrampsCfg.capitalize: if GrampsCfg.capitalize:
surname = surname.upper() surname = surname.upper()