2462: a mix between ColourOption and ColorOptions after recent changes on plugins management
svn: r11200
This commit is contained in:
parent
eaceda1353
commit
916abcf430
@ -140,20 +140,20 @@ class FamilyLinesOptions(MenuReportOptions):
|
|||||||
category = _('Individuals')
|
category = _('Individuals')
|
||||||
# -------------------------
|
# -------------------------
|
||||||
|
|
||||||
color_males = ColourOption(_('Males'), '#e0e0ff')
|
color_males = ColorOption(_('Males'), '#e0e0ff')
|
||||||
color_males.set_help(_('The colour to use to display men.'))
|
color_males.set_help(_('The colour to use to display men.'))
|
||||||
menu.add_option(category, 'colormales', color_males)
|
menu.add_option(category, 'colormales', color_males)
|
||||||
|
|
||||||
color_females = ColourOption(_('Females'), '#ffe0e0')
|
color_females = ColorOption(_('Females'), '#ffe0e0')
|
||||||
color_females.set_help(_('The colour to use to display women.'))
|
color_females.set_help(_('The colour to use to display women.'))
|
||||||
menu.add_option(category, 'colorfemales', color_females)
|
menu.add_option(category, 'colorfemales', color_females)
|
||||||
|
|
||||||
color_unknown = ColourOption(_('Unknown'), '#e0e0e0')
|
color_unknown = ColorOption(_('Unknown'), '#e0e0e0')
|
||||||
color_unknown.set_help(_('The colour to use when the gender is ' \
|
color_unknown.set_help(_('The colour to use when the gender is ' \
|
||||||
'unknown.'))
|
'unknown.'))
|
||||||
menu.add_option(category, 'colorunknown', color_unknown)
|
menu.add_option(category, 'colorunknown', color_unknown)
|
||||||
|
|
||||||
color_family = ColourOption(_('Families'), '#ffffe0')
|
color_family = ColorOption(_('Families'), '#ffffe0')
|
||||||
color_family.set_help(_('The colour to use to display families.'))
|
color_family.set_help(_('The colour to use to display families.'))
|
||||||
menu.add_option(category, 'colorfamilies', color_family)
|
menu.add_option(category, 'colorfamilies', color_family)
|
||||||
|
|
||||||
@ -1033,5 +1033,6 @@ pmgr.register_report(
|
|||||||
author_name = "Stephane Charette",
|
author_name = "Stephane Charette",
|
||||||
author_email = "stephanecharette@gmail.com",
|
author_email = "stephanecharette@gmail.com",
|
||||||
description = _("Produces family line graphs using GraphViz"),
|
description = _("Produces family line graphs using GraphViz"),
|
||||||
|
require_active = False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user