Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.
svn: r9224
This commit is contained in:
parent
5fbff2823c
commit
b3fcd5a4f5
@ -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>
|
2007-10-20 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/BookReport.py: Get book report working again.
|
* src/plugins/BookReport.py: Get book report working again.
|
||||||
* src/plugins/SimpleBookTitle.py: Get title page working again.
|
* src/plugins/SimpleBookTitle.py: Get title page working again.
|
||||||
|
@ -148,7 +148,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow):
|
|||||||
self.setup_target_frame()
|
self.setup_target_frame()
|
||||||
self.setup_format_frame()
|
self.setup_format_frame()
|
||||||
self.setup_style_frame()
|
self.setup_style_frame()
|
||||||
#self.setup_output_notebook()
|
|
||||||
|
|
||||||
self.notebook = gtk.Notebook()
|
self.notebook = gtk.Notebook()
|
||||||
self.notebook.set_border_width(6)
|
self.notebook.set_border_width(6)
|
||||||
@ -438,10 +437,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow):
|
|||||||
"""Not used in bare report dialogs. Override in the subclass."""
|
"""Not used in bare report dialogs. Override in the subclass."""
|
||||||
pass
|
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
|
# Functions related to retrieving data from the dialog window
|
||||||
|
@ -89,10 +89,6 @@ class ReportDialog(BareReportDialog):
|
|||||||
BareReportDialog.init_interface(self)
|
BareReportDialog.init_interface(self)
|
||||||
if self.format_menu:
|
if self.format_menu:
|
||||||
self.doc_type_changed(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):
|
def setup_center_person(self):
|
||||||
pass
|
pass
|
||||||
@ -305,15 +301,6 @@ class ReportDialog(BareReportDialog):
|
|||||||
spath = os.path.normpath("%s/%s%s" % (spath,base,ext))
|
spath = os.path.normpath("%s/%s%s" % (spath,base,ext))
|
||||||
self.target_fileentry.set_filename(spath)
|
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):
|
def size_changed(self, obj):
|
||||||
"""Paper size combobox 'changed' callback."""
|
"""Paper size combobox 'changed' callback."""
|
||||||
size, name = self.get_paper_size()
|
size, name = self.get_paper_size()
|
||||||
|
@ -1405,12 +1405,6 @@ class FamilyLinesDialog(ReportDialog):
|
|||||||
"""Do nothing, since we don't want a format frame"""
|
"""Do nothing, since we don't want a format frame"""
|
||||||
pass
|
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):
|
def parse_format_frame(self):
|
||||||
"""The format frame is not used in this dialog."""
|
"""The format frame is not used in this dialog."""
|
||||||
pass
|
pass
|
||||||
|
@ -3032,12 +3032,6 @@ class WebReportDialog(ReportDialog):
|
|||||||
"""Do nothing, since we don't want a format frame (NWEB only)"""
|
"""Do nothing, since we don't want a format frame (NWEB only)"""
|
||||||
pass
|
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):
|
def parse_format_frame(self):
|
||||||
"""The format frame is not used in this dialog."""
|
"""The format frame is not used in this dialog."""
|
||||||
pass
|
pass
|
||||||
|
@ -1090,12 +1090,6 @@ class WebReportDialog(ReportDialog):
|
|||||||
"""Do nothing, since we don't want a format frame """
|
"""Do nothing, since we don't want a format frame """
|
||||||
pass
|
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):
|
def parse_format_frame(self):
|
||||||
"""The format frame is not used in this dialog."""
|
"""The format frame is not used in this dialog."""
|
||||||
self.options.handler.set_format_name("html")
|
self.options.handler.set_format_name("html")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user