* src/plugins/ReorderIds.py: Display message and return.

svn: r3174
This commit is contained in:
Alex Roitman 2004-05-17 01:06:09 +00:00
parent 2882f9b479
commit 0154f192f7
2 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,7 @@
2004-05-16 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/RelGraph.py: Menu for family options.
* src/plugins/RelGraph.py (_get_event_label): Typo.
* src/plugins/ReorderIds.py: Display message and return.
2004-05-15 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/RelGraph.py (_write_graph_record): Bug fixes.

View File

@ -31,8 +31,15 @@ from gettext import gettext as _
_findint = re.compile('^[^\d]*(\d+)[^\d]*')
def runTool(db,active_person,callback):
def runTool(db,active_person,callback,parent):
"""Changed person, family, object, source, and place ids"""
# FIXME: Remove when plugin is properly implemented
from QuestionDialog import OkDialog
OkDialog(_("Plugin unavailable"),
_("This plugin is not implemented yet. Please check the next version."),
parent.topWindow)
return
try:
ReorderIds(db,callback)
except: