From ea6698be92266ba509b75dc068d59f2b777a31a6 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Thu, 27 Apr 2006 03:59:47 +0000 Subject: [PATCH] svn: r6463 --- src/plugins/PatchNames.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/plugins/PatchNames.py b/src/plugins/PatchNames.py index 61619879f..07fbdcc0f 100644 --- a/src/plugins/PatchNames.py +++ b/src/plugins/PatchNames.py @@ -47,10 +47,9 @@ import GrampsDisplay # #------------------------------------------------------------------------- import Utils -import ManagedWindow -import Errors from PluginUtils import Tool, register_tool from QuestionDialog import OkDialog +import ManagedWindow #------------------------------------------------------------------------- # @@ -89,11 +88,10 @@ _sn_prefix_re = re.compile("^\s*(%s)\s+(.*)" % '|'.join(prefix_list), class PatchNames(Tool.Tool, ManagedWindow.ManagedWindow): def __init__(self, dbstate, uistate, options_class, name, callback=None): + self.label = _('Name and title extraction tool') Tool.Tool.__init__(self, dbstate, options_class, name) - self.label = _('Name and title extraction tool') - ManagedWindow.ManagedWindow.__init__(self, uistate, [], - self.__class__) + ManagedWindow.ManagedWindow.__init__(self,uistate,[],self.__class__) self.cb = callback self.trans = self.db.transaction_begin()