From 9a0c34dfb51ca41ffa9ee8ebfd39b12947d4cefd Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Tue, 15 Jan 2002 23:15:35 +0000 Subject: [PATCH] Fixed format menu in report dialog svn: r701 --- gramps/src/Report.py | 6 ++++-- gramps/src/gramps.glade | 8 +++++++- gramps/src/plugins/WebPage.py | 9 +++++++-- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/gramps/src/Report.py b/gramps/src/Report.py index 140509445..c6e27b7af 100644 --- a/gramps/src/Report.py +++ b/gramps/src/Report.py @@ -179,6 +179,7 @@ class ReportDialog: self.setup_title() self.setup_header() self.setup_target_frame() + self.setup_format_frame() self.setup_style_frame() self.setup_output_notebook() self.setup_paper_frame() @@ -189,9 +190,10 @@ class ReportDialog: # Allow for post processing of the format frame, since the # show_all task calls events that may reset values - - self.setup_format_frame() + def setup_post_process(self): + pass + #------------------------------------------------------------------------ # # Customization hooks for subclasses diff --git a/gramps/src/gramps.glade b/gramps/src/gramps.glade index e16302e5b..12daea809 100644 --- a/gramps/src/gramps.glade +++ b/gramps/src/gramps.glade @@ -6380,6 +6380,12 @@ Unknown button147 True True + + clicked + destroy_passed_object + addChild + Tue, 15 Jan 2002 23:03:24 GMT + GNOME_STOCK_BUTTON_CANCEL @@ -6398,7 +6404,7 @@ Unknown GtkLabel newTitle - 450 + 500 GTK_JUSTIFY_CENTER False diff --git a/gramps/src/plugins/WebPage.py b/gramps/src/plugins/WebPage.py index 23c63849c..6f08cb32e 100644 --- a/gramps/src/plugins/WebPage.py +++ b/gramps/src/plugins/WebPage.py @@ -950,13 +950,18 @@ class WebReportDialog(ReportDialog): """Do Nothing. This document will be created in the make_report routine.""" pass - + + + def setup_format_frame(self): + """Do nothing, since we don't want a format frame (HTML only)""" + pass + #------------------------------------------------------------------------ # # Functions related to setting up the dialog window # #------------------------------------------------------------------------ - def setup_format_frame(self): + 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."""