diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 72330afc8..a2a7fb42a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,7 @@ 2006-04-29 Don Allingham + * src/Editors/_EditFamily.py: fix Select Person calls + * src/docgen/Makefile.am: add ODSDoc.py + * po/POTFILES.in: add ODSDoc.py * src/NEWS: Updated for 2.1.0 release 2006-04-29 Brian Matherly diff --git a/gramps2/po/POTFILES.in b/gramps2/po/POTFILES.in index 5cce8626b..5cb3c4867 100644 --- a/gramps2/po/POTFILES.in +++ b/gramps2/po/POTFILES.in @@ -89,6 +89,7 @@ src/docgen/HtmlDoc.py src/docgen/KwordDoc.py src/docgen/LaTeXDoc.py src/docgen/LPRDoc.py +src/docgen/ODSDoc.py src/docgen/ODFDoc.py src/docgen/OpenOfficeDoc.py src/docgen/OpenSpreadSheet.py diff --git a/gramps2/src/Editors/_EditFamily.py b/gramps2/src/Editors/_EditFamily.py index 3d70432cc..e205fa82f 100644 --- a/gramps2/src/Editors/_EditFamily.py +++ b/gramps2/src/Editors/_EditFamily.py @@ -222,7 +222,8 @@ class ChildEmbedList(EmbeddedList): self.family.get_mother_handle()] + \ [x.ref for x in self.family.get_child_ref_list() ] - sel = SelectPerson(self.dbstate.db, "Select Child", skip=skip_list) + sel = SelectPerson(self.dbstate, self.uistate, _("Select Child"), + skip=skip_list) person = sel.run() if person: @@ -233,7 +234,8 @@ class ChildEmbedList(EmbeddedList): def run(self,skip): skip_list = [ x for x in skip if x] - SelectPerson(self.dbstate.db, "Select Child", skip=skip_list) + SelectPerson(self.dbstate, self.uistate, _("Select Child"), + skip=skip_list) def del_button_clicked(self,obj): handle = self.get_selected() @@ -534,7 +536,8 @@ class EditFamily(EditPrimary): self.update_mother(None) else: data_filter = FastFemaleFilter(self.dbstate.db) - sel = SelectPerson(self.dbstate.db, "Select Mother", + sel = SelectPerson(self.dbstate, self.uistate, + _("Select Mother"), filter=data_filter, skip=[x.ref for x in self.obj.get_child_ref_list()]) person = sel.run() @@ -577,7 +580,8 @@ class EditFamily(EditPrimary): self.update_father(None) else: data_filter = FastMaleFilter(self.dbstate.db) - sel = SelectPerson(self.dbstate.db, "Select Father", + sel = SelectPerson(self.dbstate, self.uistate, + _("Select Father"), filter=data_filter, skip=[x.ref for x in self.obj.get_child_ref_list()]) person = sel.run() diff --git a/gramps2/src/docgen/Makefile.am b/gramps2/src/docgen/Makefile.am index f7aaf416f..40f7f99ee 100644 --- a/gramps2/src/docgen/Makefile.am +++ b/gramps2/src/docgen/Makefile.am @@ -11,6 +11,7 @@ docgen_PYTHON = \ KwordDoc.py\ LaTeXDoc.py\ ODFDoc.py\ + ODSDoc.py\ OpenOfficeDoc.py\ OpenSpreadSheet.py\ SpreadSheetDoc.py\