Remove unused funtions setup_output_notebook and setup_post_process from the ReportDialog class.
svn: r9224
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user