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)
@ -438,10 +437,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow):
"""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
#------------------------------------------------------------------------
#
# Functions related to retrieving data from the dialog window

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

@ -1405,12 +1405,6 @@ class FamilyLinesDialog(ReportDialog):
"""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."""
pass

View File

@ -3032,12 +3032,6 @@ class WebReportDialog(ReportDialog):
"""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."""
pass

View File

@ -1090,12 +1090,6 @@ class WebReportDialog(ReportDialog):
"""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."""
self.options.handler.set_format_name("html")