fix restoration of gallery setting for NarrativeWeb.py
svn: r7007
This commit is contained in:
parent
5efee6cd2d
commit
a7bd91a242
@ -1,3 +1,6 @@
|
||||
2006-07-07 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/NarrativeWeb.py: fix restoration of gallery settings
|
||||
|
||||
2006-07-06 Alex Roitman <shura@phy.ucsf.edu>
|
||||
* data/gramps.schemas.in: Remove unused key.
|
||||
* src/Config/_GrampsConfigKeys.py: Regenerate file.
|
||||
|
@ -2010,7 +2010,7 @@ class WebReport(Report):
|
||||
self.noid = options.handler.options_dict['NWEBnoid']
|
||||
self.title = options.handler.options_dict['NWEBtitle']
|
||||
self.sort = Sort.Sort(self.database)
|
||||
self.inc_gallery = bool(options.handler.options_dict['NWEBgallery'])
|
||||
self.inc_gallery = options.handler.options_dict['NWEBgallery']
|
||||
self.inc_contact = options.handler.options_dict['NWEBcontact'] != u""
|
||||
self.inc_download = options.handler.options_dict['NWEBdownload']
|
||||
self.user_header = options.handler.options_dict['NWEBheader']
|
||||
@ -2546,7 +2546,7 @@ class WebReportOptions(ReportOptions):
|
||||
self.options_dict['NWEBincpriv'] = int(not self.no_private.get_active())
|
||||
self.options_dict['NWEBnoid'] = int(self.noid.get_active())
|
||||
self.options_dict['NWEBcontact'] = unicode(self.contact.get_handle())
|
||||
self.options_dict['NWEBgallery'] = self.include_gallery.get_active()
|
||||
self.options_dict['NWEBgallery'] = int(self.include_gallery.get_active())
|
||||
self.options_dict['NWEBheader'] = unicode(self.header.get_handle())
|
||||
self.options_dict['NWEBfooter'] = unicode(self.footer.get_handle())
|
||||
self.options_dict['NWEBdownload'] = int(self.inc_download.get_active())
|
||||
|
Loading…
Reference in New Issue
Block a user