diff --git a/ChangeLog b/ChangeLog index 76c8cbabd..5a6711153 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-30 Brian Matherly + * src/plugins/GVFamilyLines.py: + * src\PluginUtils\__init__.py: + * src\PluginUtils\_MenuOptions.py: + Rename "PeoplePickerOption" to "PersonListOption". + 2007-12-30 Stéphane Charette * src/ReportBase/_GraphvizReportDialog.py: write out the .dot file using ISO-8859 instead of UTF-8 (allows for things like accented chars) diff --git a/src/PluginUtils/_MenuOptions.py b/src/PluginUtils/_MenuOptions.py index 864914459..c5e59cc86 100644 --- a/src/PluginUtils/_MenuOptions.py +++ b/src/PluginUtils/_MenuOptions.py @@ -588,13 +588,13 @@ class FilterListOption(Option): #------------------------------------------------------------------------- # -# PeoplePickerOption class +# PersonListOption class # #------------------------------------------------------------------------- -class PeoplePickerOption(Option): +class PersonListOption(Option): """ - This class describes a widget that allows - people from the database to be selected. + This class describes a widget that allows multiple people from the + database to be selected. """ def __init__(self, label, value, dbstate): """ diff --git a/src/PluginUtils/__init__.py b/src/PluginUtils/__init__.py index 4ef00be78..34b76e16d 100644 --- a/src/PluginUtils/__init__.py +++ b/src/PluginUtils/__init__.py @@ -29,7 +29,8 @@ # of the list. from _MenuOptions import MenuOptions, \ NumberOption, FloatOption, BooleanOption, TextOption, \ - EnumeratedListOption, FilterListOption, StringOption, ColourButtonOption, PeoplePickerOption + EnumeratedListOption, FilterListOption, StringOption, ColourButtonOption, \ + PersonListOption from _PluginMgr import \ register_export, register_import, \ register_tool, register_report, \ diff --git a/src/plugins/GVFamilyLines.py b/src/plugins/GVFamilyLines.py index 7adfe1110..e83f03247 100644 --- a/src/plugins/GVFamilyLines.py +++ b/src/plugins/GVFamilyLines.py @@ -67,7 +67,7 @@ from PluginUtils import register_report from ReportBase import Report, ReportUtils, ReportOptions, CATEGORY_CODE, MODE_GUI, MODE_CLI from ReportBase import Report, MenuReportOptions, MODE_GUI, MODE_CLI, CATEGORY_GRAPHVIZ from ReportBase._ReportDialog import ReportDialog -from PluginUtils import register_report, FilterListOption, EnumeratedListOption, BooleanOption, NumberOption, ColourButtonOption, PeoplePickerOption +from PluginUtils import register_report, FilterListOption, EnumeratedListOption, BooleanOption, NumberOption, ColourButtonOption, PersonListOption from QuestionDialog import ErrorDialog, WarningDialog #from NameDisplay import displayer as _nd # Gramps version < 3.0 @@ -111,7 +111,7 @@ class FamilyLinesOptions(MenuReportOptions): category = _('People of Interest') # -------------------------------- - peoplePicker = PeoplePickerOption( _('People of interest'), + peoplePicker = PersonListOption( _('People of interest'), '', dbstate ) peoplePicker.set_help( _('People of interest are used as a starting point when determining \"family lines\".'))