6369: BooleanOption does not support underline

svn: r21799
This commit is contained in:
Jérôme Rapinat 2013-03-28 18:41:37 +00:00
parent 75e3385777
commit 1975ca92b7
2 changed files with 2 additions and 2 deletions

View File

@ -908,7 +908,7 @@ class AncestorTreeOptions(MenuReportOptions):
self.max_gen.connect('value-changed', self.__fillout_vals) self.max_gen.connect('value-changed', self.__fillout_vals)
self.__fillout_vals() self.__fillout_vals()
compress = BooleanOption(_('Co_mpress tree'), True) compress = BooleanOption(_('Compress tree'), True)
compress.set_help(_("Whether to remove any extra blank spaces set " compress.set_help(_("Whether to remove any extra blank spaces set "
"aside for people that are unknown")) "aside for people that are unknown"))
menu.add_option(category_name, "compress_tree", compress) menu.add_option(category_name, "compress_tree", compress)

View File

@ -1501,7 +1501,7 @@ class DescendTreeOptions(MenuReportOptions):
"Spouses of the spouse, etc")) "Spouses of the spouse, etc"))
menu.add_option(category_name, "maxspouse", max_spouse) menu.add_option(category_name, "maxspouse", max_spouse)
compresst = BooleanOption(_('Co_mpress tree'), False) compresst = BooleanOption(_('Compress tree'), False)
compresst.set_help(_("Whether to move people up, where possible, " compresst.set_help(_("Whether to move people up, where possible, "
"resulting in a smaller tree")) "resulting in a smaller tree"))
menu.add_option(category_name, "compress_tree", compresst) menu.add_option(category_name, "compress_tree", compresst)