From 0a40ed17599dfef9c9640220b2227b64112360c4 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 17 May 2004 01:06:09 +0000 Subject: [PATCH] * src/plugins/ReorderIds.py: Display message and return. svn: r3174 --- gramps2/ChangeLog | 1 + gramps2/src/plugins/ReorderIds.py | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 76e74c1ad..9a0e37bc3 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,6 +1,7 @@ 2004-05-16 Alex Roitman * 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 * src/plugins/RelGraph.py (_write_graph_record): Bug fixes. diff --git a/gramps2/src/plugins/ReorderIds.py b/gramps2/src/plugins/ReorderIds.py index 17188adc0..62bcfb95f 100644 --- a/gramps2/src/plugins/ReorderIds.py +++ b/gramps2/src/plugins/ReorderIds.py @@ -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: