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.


svn: r5526
This commit is contained in:
Alex Roitman 2005-12-09 22:21:20 +00:00
parent fc37e66a7d
commit 34d9a734eb
2 changed files with 7 additions and 2 deletions

View File

@ -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 <don@gramps-project.org>
* src/Merge.py: fix date comparison

View File

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