Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.

svn: r9224
This commit is contained in:
Brian Matherly 2007-10-21 04:23:54 +00:00
parent 5fbff2823c
commit b3fcd5a4f5
6 changed files with 9 additions and 36 deletions

View File

@ -1,3 +1,12 @@
2007-10-20 Brian Matherly <brian@gramps-project.org>
* 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 <brian@gramps-project.org>
* src/plugins/BookReport.py: Get book report working again.
* src/plugins/SimpleBookTitle.py: Get title page working again.

View File

@ -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
#------------------------------------------------------------------------
#

View File

@ -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()

View File

@ -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."""

View File

@ -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."""

View File

@ -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."""