diff --git a/ChangeLog b/ChangeLog index 483ac463e..a4ea4ebef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-12 Zsolt Foldvari + * src/plugins/IndivComplete.py (write_person): + * src/plugins/IndivSummary.py (write_report): + Change image alignment from 'row' to 'center'. + 2007-09-08 Benny Malengier * src/plugins/lineage.py: Quick report lineage based on code Jerome * po/POTFILES.in : translate lineage diff --git a/src/plugins/IndivComplete.py b/src/plugins/IndivComplete.py index 7c7bbfd99..773c42485 100644 --- a/src/plugins/IndivComplete.py +++ b/src/plugins/IndivComplete.py @@ -445,7 +445,7 @@ class IndivCompleteReport(Report): filename = object.get_path() if os.path.exists(filename): self.doc.start_paragraph("IDS-Normal") - self.doc.add_media_object(filename,"row",4.0,4.0) + self.doc.add_media_object(filename, "center", 4.0, 4.0) self.doc.end_paragraph() else: WarningDialog(_("Could not add photo to page"), diff --git a/src/plugins/IndivSummary.py b/src/plugins/IndivSummary.py index c2f05b501..1c295e956 100644 --- a/src/plugins/IndivSummary.py +++ b/src/plugins/IndivSummary.py @@ -197,7 +197,7 @@ class IndivSummary(Report): if mime_type and mime_type.startswith("image"): file = object.get_path() self.doc.start_paragraph("IVS-Normal") - self.doc.add_media_object(file,"row",4.0,4.0) + self.doc.add_media_object(file, "center", 4.0, 4.0) self.doc.end_paragraph() self.doc.start_table("one","IVS-IndTable")