From 52e76b506aff5a5bec0dd14163a431bb49585236 Mon Sep 17 00:00:00 2001 From: Fredrik Lindseth Date: Sun, 30 Jun 2019 14:02:42 +0200 Subject: [PATCH] Add descriptions to decendant tree report styles --- gramps/plugins/drawreport/descendtree.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gramps/plugins/drawreport/descendtree.py b/gramps/plugins/drawreport/descendtree.py index d396d5ebd..583f50ad2 100644 --- a/gramps/plugins/drawreport/descendtree.py +++ b/gramps/plugins/drawreport/descendtree.py @@ -1814,26 +1814,33 @@ class DescendTreeOptions(MenuReportOptions): graph_style = GraphicsStyle() graph_style.set_paragraph_style("CG2-Normal") graph_style.set_fill_color((255, 255, 255)) + graph_style.set_description(_("The style for the marriage box.")) default_style.add_draw_style("CG2-fam-box", graph_style) graph_style = GraphicsStyle() graph_style.set_paragraph_style("CG2-Normal") graph_style.set_shadow(1, box_shadow) graph_style.set_fill_color((255, 255, 255)) + graph_style.set_description(_("The style for the spouse box.")) default_style.add_draw_style("CG2-box", graph_style) graph_style = GraphicsStyle() graph_style.set_paragraph_style("CG2-Bold") graph_style.set_shadow(1, box_shadow) graph_style.set_fill_color((255, 255, 255)) + graph_style.set_description( + _("The style for the direct descendant box.")) default_style.add_draw_style("CG2b-box", graph_style) graph_style = GraphicsStyle() graph_style.set_paragraph_style("CG2-Note") graph_style.set_fill_color((255, 255, 255)) + graph_style.set_description(_("The style for the note box.")) default_style.add_draw_style("CG2-note-box", graph_style) graph_style = GraphicsStyle() + graph_style.set_description( + _("The style for the connection lines and report border.")) default_style.add_draw_style("CG2-line", graph_style) #=====================================