* src/gramps.glade: Add date_edit dialog.

* src/DateEdit.py (DateEditorDialog): Add class.
* src/Date.py (get_quality): Typo.
* src/AddrEdit.py: Use date editor callback.
* src/EditPerson.py: Use date editor callback.
* src/EventEdit.py: Use date editor callback.

* src/AddrEdit.py: Add date editor callback
* src/EditPerson.py: Add date editor callback
* src/EventEdit.py: Add date editor callback


svn: r3552
This commit is contained in:
Alex Roitman
2004-09-18 03:58:30 +00:00
parent ac2ebca5ea
commit b4ab304891
7 changed files with 818 additions and 37 deletions

View File

@ -449,12 +449,14 @@ class EditPerson:
self.window.show()
def on_edit_date_birth_clicked(self,obj):
ErrorDialog("Not implemented yet",
"The Date Editor has not been implemented yet")
date_dialog = DateEdit.DateEditorDialog(self.bdate_check.checkval)
the_date = date_dialog.get_date()
print "The date was built as follows:", the_date
def on_edit_date_death_clicked(self,obj):
ErrorDialog("Not implemented yet",
"The Date Editor has not been implemented yet")
date_dialog = DateEdit.DateEditorDialog(self.ddate_check.checkval)
the_date = date_dialog.get_date()
print "The date was built as follows:", the_date
def close_child_windows(self):
for child_window in self.child_windows.values():