* src/EditPerson.py (get_place): Use "" for empty place's handle.

svn: r3934
This commit is contained in:
Alex Roitman 2005-01-19 03:24:33 +00:00
parent 71cf749a45
commit 114ee7f12e
2 changed files with 5 additions and 4 deletions

View File

@ -28,6 +28,8 @@
* src/DateDisplay.py: Move common objects back to DateDisplay class. * src/DateDisplay.py: Move common objects back to DateDisplay class.
* src/dates/Date_ru.py: Add formats and quality. * src/dates/Date_ru.py: Add formats and quality.
* src/EditPerson.py (get_place): Use "" for empty place's handle.
2005-01-17 Don Allingham <dallingham@users.sourceforge.net> 2005-01-17 Don Allingham <dallingham@users.sourceforge.net>
* src/ReportUtils.py: Added * src/ReportUtils.py: Added
* src/BaseDoc.py: support for graphs * src/BaseDoc.py: support for graphs

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2004 Donald N. Allingham # Copyright (C) 2000-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -87,7 +87,6 @@ _use_patronymic = [
"ru","RU","ru_RU","koi8r","ru_koi8r","russian","Russian", "ru","RU","ru_RU","koi8r","ru_koi8r","russian","Russian",
] ]
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# EditPerson class # EditPerson class
@ -1746,9 +1745,9 @@ class EditPerson:
self.add_places.append(place) self.add_places.append(place)
return place.get_handle() return place.get_handle()
else: else:
return None return u""
else: else:
return None return u""
def on_edit_name_clicked(self,obj): def on_edit_name_clicked(self,obj):
import NameEdit import NameEdit