Remove the "tables" parameter for text and book document generators. All generators support tables, and if one didn't, it doesn't look like the code would work.

svn: r10745
This commit is contained in:
Brian Matherly
2008-05-20 03:19:58 +00:00
parent 1d306345bd
commit 92d5ba8dfd
12 changed files with 36 additions and 56 deletions

View File

@ -1103,9 +1103,6 @@ class BookReportDialog(DocReportDialog):
def setup_other_frames(self): pass
def parse_style_frame(self): pass
def doc_uses_tables(self):
return 1
def get_title(self):
return _("Book Report")
@ -1121,8 +1118,7 @@ class BookReportDialog(DocReportDialog):
this text report. This menu will be generated based upon
whether the document requires table support, etc."""
self.format_menu = BookFormatComboBox()
self.format_menu.set(self.doc_uses_tables(),
self.doc_type_changed, None, active)
self.format_menu.set(self.doc_type_changed, None, active)
def make_document(self):
"""Create a document of the type requested by the user."""