diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index c22232ddf..c73aad2ef 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -6,7 +6,9 @@ checking existing file/dir, make sure we requested file/dir, correspondingly. * src/plugins/NavWebPage (archive_toggle): Add/remove '.tar.gz' - to path when this options is turned on/off. + to path when this options is turned on/off; (parse_style_frame): + save archive option as an integer; (setup_html_frame): set the + state for archive option. 2005-12-08 Don Allingham * src/Merge.py: fix date comparison diff --git a/gramps2/src/plugins/NavWebPage.py b/gramps2/src/plugins/NavWebPage.py index 962c0e0ee..e799be2ce 100644 --- a/gramps2/src/plugins/NavWebPage.py +++ b/gramps2/src/plugins/NavWebPage.py @@ -2623,7 +2623,8 @@ class WebReportDialog(Report.ReportDialog): def parse_style_frame(self): """The style frame is not used in this dialog.""" - self.options.handler.options_dict['NWEBarchive'] = self.archive.get_active() + self.options.handler.options_dict['NWEBarchive'] = int( + self.archive.get_active()) def parse_html_frame(self): pass @@ -2634,6 +2635,8 @@ class WebReportDialog(Report.ReportDialog): def setup_html_frame(self): self.archive = gtk.CheckButton(_('Store web pages in .tar.gz archive')) self.archive.set_alignment(0.0,0.5) + self.archive.set_active( + self.options.handler.options_dict['NWEBarchive']) self.archive.connect('toggled',self.archive_toggle) self.add_option(None,self.archive)