add specific help links for person/name editor

This commit is contained in:
Vassilii Khachaturov 2013-12-19 19:31:13 +02:00
parent 0fc8b6b1c4
commit 86b0a3800a
3 changed files with 8 additions and 4 deletions

View File

@ -66,7 +66,7 @@ except KeyError:
def 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 = const.URL_WIKISTRING + const.URL_MANUAL_PAGE + EXTENSION

View File

@ -154,7 +154,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_3.4_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):
@ -463,4 +465,4 @@ class EditName(EditSecondary):
# can't use group_over, see Note in gen/lib/name/Name.set_group_as().
if not self.group_as.obj.get_editable():
self.obj.set_group_as("")
EditSecondary._cleanup_on_exit(self)
EditSecondary._cleanup_on_exit(self)

View File

@ -229,7 +229,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_3.4_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",