diff --git a/ChangeLog b/ChangeLog index 949013b18..cbdc5bf3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-10-20 Brian Matherly + * src/ReportBase/_BareReportDialog.py: + * src/plugins/WebCal.py: + * src/plugins/NarrativeWeb.py: + * src/plugins/FamilyLines.py: + * src/ReportBase/_ReportDialog.py: + Remove unused funtions setup_output_notebook and setup_post_process from + the ReportDialog class. + 2007-10-20 Brian Matherly * src/plugins/BookReport.py: Get book report working again. * src/plugins/SimpleBookTitle.py: Get title page working again. diff --git a/src/ReportBase/_BareReportDialog.py b/src/ReportBase/_BareReportDialog.py index bfac52992..30a4ba733 100644 --- a/src/ReportBase/_BareReportDialog.py +++ b/src/ReportBase/_BareReportDialog.py @@ -148,7 +148,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow): self.setup_target_frame() self.setup_format_frame() self.setup_style_frame() - #self.setup_output_notebook() self.notebook = gtk.Notebook() self.notebook.set_border_width(6) @@ -437,10 +436,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow): def setup_html_frame(self): """Not used in bare report dialogs. Override in the subclass.""" pass - - def setup_output_notebook(self): - """Not used in bare report dialogs. Override in the subclass.""" - pass #------------------------------------------------------------------------ # diff --git a/src/ReportBase/_ReportDialog.py b/src/ReportBase/_ReportDialog.py index 00939d86b..9c540c4be 100644 --- a/src/ReportBase/_ReportDialog.py +++ b/src/ReportBase/_ReportDialog.py @@ -89,10 +89,6 @@ class ReportDialog(BareReportDialog): BareReportDialog.init_interface(self) if self.format_menu: self.doc_type_changed(self.format_menu) - self.setup_post_process() - - def setup_post_process(self): - pass def setup_center_person(self): pass @@ -305,15 +301,6 @@ class ReportDialog(BareReportDialog): spath = os.path.normpath("%s/%s%s" % (spath,base,ext)) self.target_fileentry.set_filename(spath) - def setup_output_notebook(self): - """Set up the output notebook of the dialog. - - This sole purpose of this function is to grab a pointer for later - use in the callback from when the file format is changed. - - """ - pass - def size_changed(self, obj): """Paper size combobox 'changed' callback.""" size, name = self.get_paper_size() diff --git a/src/plugins/FamilyLines.py b/src/plugins/FamilyLines.py index df0f201b1..b660fd004 100644 --- a/src/plugins/FamilyLines.py +++ b/src/plugins/FamilyLines.py @@ -1404,12 +1404,6 @@ class FamilyLinesDialog(ReportDialog): def setup_format_frame(self): """Do nothing, since we don't want a format frame""" pass - - def setup_post_process(self): - """The format frame is not used in this dialog. Hide it, and - set the output notebook to always display the html template - page.""" - pass def parse_format_frame(self): """The format frame is not used in this dialog.""" diff --git a/src/plugins/NarrativeWeb.py b/src/plugins/NarrativeWeb.py index 12742fd35..c49b6aa6f 100644 --- a/src/plugins/NarrativeWeb.py +++ b/src/plugins/NarrativeWeb.py @@ -3031,12 +3031,6 @@ class WebReportDialog(ReportDialog): def setup_format_frame(self): """Do nothing, since we don't want a format frame (NWEB only)""" pass - - def setup_post_process(self): - """The format frame is not used in this dialog. Hide it, and - set the output notebook to always display the html template - page.""" - pass def parse_format_frame(self): """The format frame is not used in this dialog.""" diff --git a/src/plugins/WebCal.py b/src/plugins/WebCal.py index 03ef2e333..fa64f247e 100644 --- a/src/plugins/WebCal.py +++ b/src/plugins/WebCal.py @@ -1089,12 +1089,6 @@ class WebReportDialog(ReportDialog): def setup_format_frame(self): """Do nothing, since we don't want a format frame """ pass - - def setup_post_process(self): - """The format frame is not used in this dialog. Hide it, and - set the output notebook to always display the html template - page.""" - pass def parse_format_frame(self): """The format frame is not used in this dialog."""