From 1e908f8acce7038fee9e3232456d19f957c2279b Mon Sep 17 00:00:00 2001 From: Vassilii Khachaturov Date: Thu, 19 Dec 2013 19:46:08 +0200 Subject: [PATCH] add specific help links for person/name editor --- gramps/gui/display.py | 2 +- gramps/gui/editors/editname.py | 4 +++- gramps/gui/editors/editperson.py | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gramps/gui/display.py b/gramps/gui/display.py index 1856294a3..a4f729834 100644 --- a/gramps/gui/display.py +++ b/gramps/gui/display.py @@ -50,7 +50,7 @@ else: def display_help(webpage='', section=''): """ - Display the specified webpage and section from the Gramps 3.0 wiki. + Display the specified webpage and section from the Gramps wiki. """ if not webpage: link = URL_WIKISTRING + URL_MANUAL_PAGE + EXTENSION diff --git a/gramps/gui/editors/editname.py b/gramps/gui/editors/editname.py index 1e34ae7ea..8eb2a53d9 100644 --- a/gramps/gui/editors/editname.py +++ b/gramps/gui/editors/editname.py @@ -156,7 +156,9 @@ class EditName(EditSecondary): def _connect_signals(self): self.define_cancel_button(self.top.get_object('button119')) - self.define_help_button(self.top.get_object('button131')) + self.define_help_button(self.top.get_object('button131'), + _('Gramps_4.0_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_3'), + _('manpage section id|Name_Editor')) self.define_ok_button(self.top.get_object('button118'), self.save) def _validate_call(self, widget, text): diff --git a/gramps/gui/editors/editperson.py b/gramps/gui/editors/editperson.py index febe37194..bf2878281 100644 --- a/gramps/gui/editors/editperson.py +++ b/gramps/gui/editors/editperson.py @@ -234,7 +234,9 @@ class EditPerson(EditPrimary): """ self.define_cancel_button(self.top.get_object("button15")) self.define_ok_button(self.top.get_object("ok"), self.save) - self.define_help_button(self.top.get_object("button134")) + self.define_help_button(self.top.get_object("button134"), + _('Gramps_4.0_Wiki_Manual_-_Entering_and_editing_data:_detailed_-_part_1'), + _('manpage section id|Editing_information_about_people')) self.given.connect("focus_out_event", self._given_focus_out_event) self.top.get_object("editnamebtn").connect("clicked",