Add tooltip support for the "extra" menu and textbox.

svn: r642
This commit is contained in:
David Hampton
2001-12-19 23:03:51 +00:00
parent 89e576b349
commit 20182aece1
3 changed files with 34 additions and 15 deletions

View File

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