0005449: Pedigree view crashes ... : add help button + suppress CLI tool mode

This commit is contained in:
SNoiraud 2016-04-10 20:08:25 +02:00
parent 4525b87071
commit 9fe4820f4c
2 changed files with 4 additions and 3 deletions

View File

@ -55,6 +55,8 @@ from gramps.gui.editors import EditFamily
# Constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = '%s_-_Tools' % URL_MANUAL_PAGE
WIKI_HELP_SEC = _('manual|Find_possible_loop_in_the_database')
#------------------------------------------------------------------------
#
@ -198,8 +200,7 @@ class FindLoop(ManagedWindow) :
def on_help_clicked(self, obj):
"""Display the relevant portion of GRAMPS manual"""
pass
display_help(webpage=WIKI_HELP_PAGE, section=WIKI_HELP_SEC)
#------------------------------------------------------------------------
#

View File

@ -494,5 +494,5 @@ authors_email = ["serge.noiraud@free.fr"],
category = TOOL_UTILS,
toolclass = 'FindLoop',
optionclass = 'FindLoopOptions',
tool_modes = [TOOL_MODE_GUI, TOOL_MODE_CLI]
tool_modes = [TOOL_MODE_GUI]
)