From 3db2da7db2029fdc1ad6756634e9d1ee23209ee5 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 4 Mar 2008 13:01:07 +0000 Subject: [PATCH] Option testing svn: r10181 --- src/plugins/DefaultGramplets.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/plugins/DefaultGramplets.py b/src/plugins/DefaultGramplets.py index 4396a67d0..ef4c643ce 100644 --- a/src/plugins/DefaultGramplets.py +++ b/src/plugins/DefaultGramplets.py @@ -22,6 +22,7 @@ import urllib import gen.lib from DataViews import register, Gramplet +from PluginUtils import * from BasicUtils import name_displayer from Utils import media_path_full from QuickReports import run_quick_report_by_name @@ -449,6 +450,15 @@ class PedigreeGramplet(Gramplet): _("Right-click name to edit person") self.max_generations = 100 self.set_use_markup(True) + #self.set_options( {"max_generations": + # NumberOption(_("Maximum generations"), + # 100, -1, 500), + # "expand": + # BooleanOption(_("Expandable"), False), + # "height": + # NumberOption(_("Height"), + # 300, 1, 1024), + # } ) def db_changed(self): """