Revert workaround for bug #8833

This reverts commit 01a68f5692.
This commit is contained in:
Nick Hall 2015-09-05 16:11:50 +01:00
parent 67e6a53951
commit b2fa1350f0
3 changed files with 3 additions and 9 deletions

View File

@ -248,9 +248,7 @@ class GVOptions():
category = _("Note") category = _("Note")
################################ ################################
# workaround for bug 8833 note = TextOption(_("Note to add to the graph"),
lines = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
note = TextOption(_("Note to add to the graph") + lines,
[""] ) [""] )
note.set_help(_("This text will be added to the graph.")) note.set_help(_("This text will be added to the graph."))
menu.add_option(category, "note", note) menu.add_option(category, "note", note)

View File

@ -927,10 +927,8 @@ class AncestorTreeOptions(MenuReportOptions):
################## ##################
category_name = _("Replace") category_name = _("Replace")
# workaround for bug 8833
lines = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
repldisp = TextOption( repldisp = TextOption(
_("Replace Display Format:\n'Replace this'/' with this'") + lines, _("Replace Display Format:\n'Replace this'/' with this'"),
[]) [])
repldisp.set_help(_("i.e.\nUnited States of America/U.S.A")) repldisp.set_help(_("i.e.\nUnited States of America/U.S.A"))
menu.add_option(category_name, "replace_list", repldisp) menu.add_option(category_name, "replace_list", repldisp)

View File

@ -1578,10 +1578,8 @@ class DescendTreeOptions(MenuReportOptions):
################## ##################
category_name = _("Replace") category_name = _("Replace")
# workaround for bug 8833
lines = "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"
repldisp = TextOption( repldisp = TextOption(
_("Replace Display Format:\n'Replace this'/' with this'") + lines, _("Replace Display Format:\n'Replace this'/' with this'"),
[]) [])
repldisp.set_help(_("i.e.\nUnited States of America/U.S.A")) repldisp.set_help(_("i.e.\nUnited States of America/U.S.A"))
menu.add_option(category_name, "replace_list", repldisp) menu.add_option(category_name, "replace_list", repldisp)