From 9a995b9e30d925bdc83868631586a19e340da629 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Fri, 15 Apr 2016 13:50:30 +0200 Subject: [PATCH] 5449: Pedigree view crashes : changed the name and solved the notrelated glade problem. --- gramps/plugins/tool/findloop.glade | 2 +- gramps/plugins/tool/findloop.py | 7 +++++-- gramps/plugins/tool/tools.gpr.py | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/gramps/plugins/tool/findloop.glade b/gramps/plugins/tool/findloop.glade index 00a986b52..3fc52ec70 100644 --- a/gramps/plugins/tool/findloop.glade +++ b/gramps/plugins/tool/findloop.glade @@ -27,7 +27,7 @@ True False True - + False diff --git a/gramps/plugins/tool/findloop.py b/gramps/plugins/tool/findloop.py index 3b6d76e24..e71ce39f5 100644 --- a/gramps/plugins/tool/findloop.py +++ b/gramps/plugins/tool/findloop.py @@ -56,7 +56,7 @@ from gramps.gui.editors import EditFamily # #------------------------------------------------------------------------- WIKI_HELP_PAGE = '%s_-_Tools' % URL_MANUAL_PAGE -WIKI_HELP_SEC = _('manual|Find_possible_loop_in_the_database') +WIKI_HELP_SEC = _('manual|Find_database_loop') #------------------------------------------------------------------------ # @@ -68,7 +68,7 @@ class FindLoop(ManagedWindow) : def __init__(self, dbstate, user, options_class, name, callback=None): uistate = user.uistate - self.title = _('Find possible loop') + self.title = _('Find database loop') ManagedWindow.__init__(self, uistate, [], self.__class__) self.dbstate = dbstate self.uistate = uistate @@ -202,6 +202,9 @@ class FindLoop(ManagedWindow) : """Display the relevant portion of GRAMPS manual""" display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC) + def close(self, *obj): + ManagedWindow.close(self,*obj) + #------------------------------------------------------------------------ # # FindLoopOptions diff --git a/gramps/plugins/tool/tools.gpr.py b/gramps/plugins/tool/tools.gpr.py index 4262ea458..98a86ce10 100644 --- a/gramps/plugins/tool/tools.gpr.py +++ b/gramps/plugins/tool/tools.gpr.py @@ -476,13 +476,13 @@ tool_modes = [TOOL_MODE_GUI] #------------------------------------------------------------------------ # -# Find Possible Loop +# Find database Loop # #------------------------------------------------------------------------ register(TOOL, id = 'loop', -name = _("Find Possible Loop"), +name = _("Find database loop"), description = _("Searches the entire database, looking for " "a possible loop."), version = '1.0',