2003-07-11 Tim Waugh <twaugh@redhat.com>

* src/plugins/SimpleBookTitle.py: Define self.style_name before
        calling Report.BareReportDialog.__init__().


svn: r1863
This commit is contained in:
Tim Waugh 2003-07-11 11:15:40 +00:00
parent e94defacf3
commit 5660468eaf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-07-11 Tim Waugh <twaugh@redhat.com>
* src/plugins/SimpleBookTitle.py: Define self.style_name before
calling Report.BareReportDialog.__init__().
2003-07-10 Alex Roitman <shura@alex.neuro.umn.edu> 2003-07-10 Alex Roitman <shura@alex.neuro.umn.edu>
* src/GrampsCfg.py (GrampsPreferences.select): Conditional get_path(). * src/GrampsCfg.py (GrampsPreferences.select): Conditional get_path().
* src/Plugins.py (PluginDialog.on_node_selected): Likewise. * src/Plugins.py (PluginDialog.on_node_selected): Likewise.

View File

@ -137,6 +137,8 @@ class SimpleBookTitleDialog(Report.BareReportDialog):
self.person = self.db.getPerson(self.options[0]) self.person = self.db.getPerson(self.options[0])
else: else:
self.person = person self.person = person
self.style_name = stl
Report.BareReportDialog.__init__(self,database,self.person) Report.BareReportDialog.__init__(self,database,self.person)
if self.options[1]: if self.options[1]:
@ -155,7 +157,6 @@ class SimpleBookTitleDialog(Report.BareReportDialog):
self.title_entry.set_text(self.title_string) self.title_entry.set_text(self.title_string)
self.copyright_entry.set_text(self.copyright_string) self.copyright_entry.set_text(self.copyright_string)
self.style_name = stl
self.new_person = None self.new_person = None
self.window.run() self.window.run()