Rename "PeoplePickerOption" to "PersonListOption".
svn: r9646
This commit is contained in:
parent
83e05324d2
commit
e364f891d5
@ -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)
|
||||
|
@ -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):
|
||||
"""
|
||||
|
@ -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, \
|
||||
|
@ -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\".'))
|
||||
|
Loading…
Reference in New Issue
Block a user