svn: r6463
This commit is contained in:
parent
1403965a82
commit
ea6698be92
@ -47,10 +47,9 @@ import GrampsDisplay
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
import Utils
|
import Utils
|
||||||
import ManagedWindow
|
|
||||||
import Errors
|
|
||||||
from PluginUtils import Tool, register_tool
|
from PluginUtils import Tool, register_tool
|
||||||
from QuestionDialog import OkDialog
|
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):
|
class PatchNames(Tool.Tool, ManagedWindow.ManagedWindow):
|
||||||
|
|
||||||
def __init__(self, dbstate, uistate, options_class, name, callback=None):
|
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)
|
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.cb = callback
|
||||||
self.trans = self.db.transaction_begin()
|
self.trans = self.db.transaction_begin()
|
||||||
|
Loading…
Reference in New Issue
Block a user