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

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