From b88447440760f154e26dd248a963e47d35ab99bb Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 8 May 2007 04:35:14 +0000 Subject: [PATCH] svn: r8445 --- src/BaseDoc.py | 12 ++++++------ src/ReportBase/_BareReportDialog.py | 1 - src/docgen/TextBufDoc.py | 2 -- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/BaseDoc.py b/src/BaseDoc.py index 8cc655c5d..dc7835c8e 100644 --- a/src/BaseDoc.py +++ b/src/BaseDoc.py @@ -557,14 +557,14 @@ class ParagraphStyle: using the values of the source instead of the default values. """ if source: - self.font = FontStyle(source.font) + self.font = FontStyle(source.font) self.rmargin = source.rmargin self.lmargin = source.lmargin self.first_indent = source.first_indent self.tmargin = source.tmargin self.bmargin = source.bmargin - self.align = source.align - self.level = source.level + self.align = source.align + self.level = source.level self.top_border = source.top_border self.bottom_border = source.bottom_border self.right_border = source.right_border @@ -574,14 +574,14 @@ class ParagraphStyle: self.description = source.description self.tabs = source.tabs else: - self.font = FontStyle() + self.font = FontStyle() self.rmargin = 0 self.lmargin = 0 self.tmargin = 0 self.bmargin = 0 self.first_indent = 0 - self.align = PARA_ALIGN_LEFT - self.level = 0 + self.align = PARA_ALIGN_LEFT + self.level = 0 self.top_border = 0 self.bottom_border = 0 self.right_border = 0 diff --git a/src/ReportBase/_BareReportDialog.py b/src/ReportBase/_BareReportDialog.py index d9449b291..6e8efe72c 100644 --- a/src/ReportBase/_BareReportDialog.py +++ b/src/ReportBase/_BareReportDialog.py @@ -468,7 +468,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow): if self.HELP_TOPIC: import GrampsDisplay GrampsDisplay.help(self.HELP_TOPIC) - print "HELP CLICKED" def on_ok_clicked(self, obj): """The user is satisfied with the dialog choices. Parse all options diff --git a/src/docgen/TextBufDoc.py b/src/docgen/TextBufDoc.py index e3b410c2c..232b2634b 100644 --- a/src/docgen/TextBufDoc.py +++ b/src/docgen/TextBufDoc.py @@ -88,10 +88,8 @@ class TextBufDoc(BaseDoc.BaseDoc, BaseDoc.TextDoc): self.tag_table = gtk.TextTagTable() sheet = self.get_style_sheet() - print sheet for name in sheet.get_paragraph_style_names(): - print name tag = gtk.TextTag(name) style = sheet.get_paragraph_style(name)