* src/Report.py: Split ReportDialog into BareReportDialog and
its subclass of ReportDialog. BareReportDialog has nothing to do with the paper, format, filename, etc. * src/plugins/BookReport.py: Make ReportOptionsDialog a sublcass of Report.BareReportDialog. svn: r1656
This commit is contained in:
parent
14786ebe3a
commit
73a1e8033f
1044
src/Report.py
1044
src/Report.py
File diff suppressed because it is too large
Load Diff
@ -210,11 +210,11 @@ class BookReportSelector:
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
class ReportOptionsDialog(Report.TextReportDialog):
|
class ReportOptionsDialog(Report.BareReportDialog):
|
||||||
|
|
||||||
def __init__(self,database,person,rep_title):
|
def __init__(self,database,person,rep_title):
|
||||||
self.rep_title = rep_title
|
self.rep_title = rep_title
|
||||||
Report.TextReportDialog.__init__(self,database,person)
|
Report.BareReportDialog.__init__(self,database,person)
|
||||||
|
|
||||||
def get_title(self):
|
def get_title(self):
|
||||||
"""The window title for this dialog"""
|
"""The window title for this dialog"""
|
||||||
@ -224,16 +224,6 @@ class ReportOptionsDialog(Report.TextReportDialog):
|
|||||||
"""The header line at the top of the dialog contents"""
|
"""The header line at the top of the dialog contents"""
|
||||||
return _("%s for GRAMPS Book") % self.rep_title
|
return _("%s for GRAMPS Book") % self.rep_title
|
||||||
|
|
||||||
def setup_paper_frame(self): pass
|
|
||||||
|
|
||||||
def setup_html_frame(self): pass
|
|
||||||
|
|
||||||
def setup_style_frame(self): pass
|
|
||||||
|
|
||||||
def html_file_enable(self,obj): pass
|
|
||||||
|
|
||||||
def setup_target_frame(self): pass
|
|
||||||
|
|
||||||
def setup_format_frame(self):
|
def setup_format_frame(self):
|
||||||
center_label = gtk.Label("<b>%s</b>" % _("Center Person"))
|
center_label = gtk.Label("<b>%s</b>" % _("Center Person"))
|
||||||
center_label.set_use_markup(gtk.TRUE)
|
center_label.set_use_markup(gtk.TRUE)
|
||||||
@ -370,8 +360,10 @@ register_report(
|
|||||||
report,
|
report,
|
||||||
_("Book Report"),
|
_("Book Report"),
|
||||||
category=_("Text Reports"),
|
category=_("Text Reports"),
|
||||||
status=(_("Experimental")),
|
status=(_("Unstable")),
|
||||||
description=_("Creates a book containg several reports."),
|
description=_("Creates a book containg several reports."),
|
||||||
xpm=get_xpm_image()
|
xpm=get_xpm_image(),
|
||||||
|
author_name="Alex Roitman",
|
||||||
|
author_email="shura@alex.neuro.umn.edu"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user