Rename "PeoplePickerOption" to "PersonListOption".

svn: r9646
This commit is contained in:
Brian Matherly 2007-12-30 22:32:02 +00:00
parent 83e05324d2
commit e364f891d5
4 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,9 @@
2007-12-30 Brian Matherly <brian@gramps-project.org>
* src/plugins/GVFamilyLines.py:
* src\PluginUtils\__init__.py:
* src\PluginUtils\_MenuOptions.py:
Rename "PeoplePickerOption" to "PersonListOption".
2007-12-30 Stéphane Charette <stephanecharette@gmail.com>
* src/ReportBase/_GraphvizReportDialog.py: write out the .dot file
using ISO-8859 instead of UTF-8 (allows for things like accented chars)

View File

@ -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):
"""

View File

@ -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, \

View File

@ -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\".'))