Add tooltip support for the "extra" menu and textbox.
svn: r642
This commit is contained in:
@@ -274,9 +274,10 @@ class AncestorChartDialog(DrawReportDialog):
|
||||
"""Default to 10 generations, no page breaks."""
|
||||
return (10, 0)
|
||||
|
||||
def get_report_extra_textbox_string(self):
|
||||
def get_report_extra_textbox_info(self):
|
||||
"""Label the textbox and provide the default contents."""
|
||||
return (_("Display Format"), "$n\nb. $b\nd. $d")
|
||||
return (_("Display Format"), "$n\nb. $b\nd. $d",
|
||||
_("Allows you to customize the data in the boxes in the report"))
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
||||
@@ -358,7 +358,7 @@ class FamilyGroupDialog(TextReportDialog):
|
||||
"""No generation options."""
|
||||
return (0, 0)
|
||||
|
||||
def get_report_extra_menu_map(self):
|
||||
def get_report_extra_menu_info(self):
|
||||
"""Create a mapping of all spouse names:families to be put
|
||||
into the 'extra' option menu in the report options box. If
|
||||
the selected person has never been married then this routine
|
||||
@@ -378,7 +378,7 @@ class FamilyGroupDialog(TextReportDialog):
|
||||
else:
|
||||
name= _("unknown")
|
||||
mapping[name] = family
|
||||
return (_("Spouse"), mapping, None)
|
||||
return (_("Spouse"), mapping, None, None)
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user