links to wiki manual

svn: r10081
This commit is contained in:
Erik De Richter 2008-02-20 19:04:53 +00:00
parent f18232b6e9
commit 54cad55630
4 changed files with 35 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2008-02-20 Frederik De Richter <frederik.de.richter@pandora.be>
* src/Merge/_MergePerson.py
* src/Merge/_MergeSource.py
* src/Merge/_MergePlace.py
links to wiki manual
2008-02-20 Peter Landgren <peter.talken@telia.com> 2008-02-20 Peter Landgren <peter.talken@telia.com>
* src/plugins/rel_sv.py: pylint clean up * src/plugins/rel_sv.py: pylint clean up

View File

@ -25,7 +25,7 @@
# Standard python modules # Standard python modules
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gettext import gettext as _ from TransUtils import sgettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -36,6 +36,14 @@ import gtk
from gtk import glade from gtk import glade
import pango import pango
#-------------------------------------------------------------------------
#
# GRAMPS constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Entering_and_Editing_Data:_Detailed'
WIKI_HELP_SEC = _('manual|Merge_People')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# GRAMPS modules # GRAMPS modules
@ -80,7 +88,7 @@ class PersonCompare(ManagedWindow.ManagedWindow):
def help(self, obj): def help(self, obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
GrampsDisplay.help('adv-merge-people') GrampsDisplay.help('adv-merge-people', webpage = WIKI_HELP_PAGE, section = WIKI_HELP_SEC)
def merge(self, obj): def merge(self, obj):
if check_for_spouse(self.p1, self.p2): if check_for_spouse(self.p1, self.p2):
@ -324,7 +332,7 @@ class MergePeopleUI(ManagedWindow.ManagedWindow):
def help(self, obj): def help(self, obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
GrampsDisplay.help('adv-merge-people') GrampsDisplay.help('adv-merge-people', webpage=WIKI_HELP_PAGE, section = WIKI_HELP_SEC)
def name_of(p): def name_of(p):

View File

@ -25,7 +25,8 @@
# Standard python modules # Standard python modules
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gettext import gettext as _
from TransUtils import sgettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -41,6 +42,13 @@ from gtk import glade
import const import const
import GrampsDisplay import GrampsDisplay
import ManagedWindow import ManagedWindow
#-------------------------------------------------------------------------
#
# GRAMPS constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Entering_and_Editing_Data:_Detailed'
WIKI_HELP_SEC = _('manual|Merge_Places')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -89,7 +97,7 @@ class MergePlaces(ManagedWindow.ManagedWindow):
def help(self,obj): def help(self,obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
GrampsDisplay.help('adv-merge-places') GrampsDisplay.help('adv-merge-places', webpage = WIKI_HELP_PAGE, section = WIKI_HELP_SEC)
def merge(self,obj): def merge(self,obj):
""" """

View File

@ -25,7 +25,7 @@
# Standard python modules # Standard python modules
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gettext import gettext as _ from TransUtils import sgettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
@ -34,6 +34,13 @@ from gettext import gettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gtk import glade from gtk import glade
#-------------------------------------------------------------------------
#
# GRAMPS constants
#
#-------------------------------------------------------------------------
WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Entering_and_Editing_Data:_Detailed'
WIKI_HELP_SEC = _('manual|Merge_Sources')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# GRAMPS modules # GRAMPS modules
@ -105,7 +112,7 @@ class MergeSources(ManagedWindow.ManagedWindow):
def help(self,obj): def help(self,obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
GrampsDisplay.help('adv-merge-sources') GrampsDisplay.help('adv-merge-sources', webpage = WIKI_HELP_PAGE, section = WIKI_HELP_SEC)
def merge(self,obj): def merge(self,obj):
""" """