* src/gramps_main.py (open_example): Fix destination name when copying

files (was directory name).
* doc/gramps-manual/C/gramps-manual.xml: Reflect name change for
Comprehensive Ancestors Report.
* src/plugins/AncestorReport.py: Prefixed style names ("AHN:").
* src/plugins/Ancestors.py: Prefixed style names ("AR:").
* src/plugins/DescendReport.py: Prefixed style names ("DR:").
* src/plugins/DetAncestralReport.py: Prefixed style names ("DAR:").
* src/plugins/DetDescendantReport.py: Prefixed style names ("DDR:").
* src/plugins/FtmStyleAncestors.py: Prefixed style names ("FTA:").
* src/plugins/FtmStyleDescendants.py: Prefixed style names ("FTD:").
* src/plugins/FamilyGroup.py: Prefixed style names ("FGR:").
* src/plugins/CustomBookText.py: Prefixed style names ("CBT:").
* src/plugins/SimpleBookTitle.py: Prefixed style names ("SBT:").
Rename "Copyright string" with "Subtitle string".
* src/plugins/BookReport.py (BookReportDialog.__init__): Finally,
clear the style problem.


svn: r1901
This commit is contained in:
Alex Roitman
2003-07-18 06:17:28 +00:00
parent c3976a2bc9
commit 6431759d5a
14 changed files with 240 additions and 209 deletions

View File

@@ -73,11 +73,11 @@ class SimpleBookTitle(Report.Report):
if self.newpage:
self.doc.page_break()
self.doc.start_paragraph('SBT-Title')
self.doc.start_paragraph('SBT:Title')
self.doc.write_text(self.title_string)
self.doc.end_paragraph()
self.doc.start_paragraph('SBT-Subtitle')
self.doc.start_paragraph('SBT:Subtitle')
self.doc.write_text(self.copyright_string)
self.doc.end_paragraph()
@@ -95,7 +95,7 @@ def _make_default_style(default_style):
para.set_alignment(TextDoc.PARA_ALIGN_CENTER)
para.set(pad=0.5)
para.set_description(_('The style used for the title of the page.'))
default_style.add_style("SBT-Title",para)
default_style.add_style("SBT:Title",para)
font = TextDoc.FontStyle()
font.set(face=TextDoc.FONT_SANS_SERIF,size=14,italic=1)
@@ -105,7 +105,7 @@ def _make_default_style(default_style):
para.set(pad=0.5)
para.set_alignment(TextDoc.PARA_ALIGN_CENTER)
para.set_description(_('The style used for the subtitle.'))
default_style.add_style("SBT-Subtitle",para)
default_style.add_style("SBT:Subtitle",para)
#------------------------------------------------------------------------
#
@@ -194,7 +194,7 @@ class SimpleBookTitleDialog(Report.BareReportDialog):
self.copyright_entry = gtk.Entry()
self.add_frame_option(_('Contents'),_('Title String'),self.title_entry)
self.add_frame_option(_('Contents'),_('Copyright String'),self.copyright_entry)
self.add_frame_option(_('Contents'),_('Subtitle String'),self.copyright_entry)
def parse_report_options_frame(self):
"""Parse the report options frame of the dialog. Save the user selected choices for later use."""