5449: Pedigree view crashes : changed the name and solved the notrelated glade problem.

This commit is contained in:
SNoiraud 2016-04-15 13:50:30 +02:00
parent a472ec4e08
commit 9a995b9e30
3 changed files with 8 additions and 5 deletions

View File

@ -27,7 +27,7 @@
<property name="can_default">True</property>
<property name="receives_default">False</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="destroy_passed_object" object="notrelated" swapped="yes"/>
<signal name="clicked" handler="destroy_passed_object" swapped="yes"/>
</object>
<packing>
<property name="expand">False</property>

View File

@ -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

View File

@ -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',