wiki manual link

svn: r10053
This commit is contained in:
Erik De Richter 2008-02-18 16:29:43 +00:00
parent 278b95f170
commit a22c0aee1d
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,7 @@
2008-02-18 Frederik De Richter <frederik.de.richter@pandora.be>
* src/Editors/_EditEvent.py
link to wiki manual
2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com> 2008-02-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/DataViews/EventView.py * src/DataViews/EventView.py
* src/DataViews/FamilyList.py * src/DataViews/FamilyList.py
@ -39,7 +43,7 @@
* src/DataViews/RelationView.py * src/DataViews/RelationView.py
* src/DataViews/PedigreeView.py * src/DataViews/PedigreeView.py
* src/ReportBase/_ReportUtils.py * src/ReportBase/_ReportUtils.py
* src/Editors/_EditPerson.py *
* src/Editors/_EditMediaRef.py * src/Editors/_EditMediaRef.py
* src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu * src/DisplayTabs/_GalleryTab.py: also correct wrong popup menu
* src/plugins/Summary.py * src/plugins/Summary.py

View File

@ -25,8 +25,7 @@
# Python modules # Python modules
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
from gettext import gettext as _ from TransUtils import sgettext as _
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# GTK/Gnome modules # GTK/Gnome modules
@ -57,7 +56,8 @@ from GrampsWidgets import (MonitoredEntry, PlaceEntry, PrivacyButton,
# Constants # Constants
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
WIKI_HELP_PAGE = 'Gramps_3.0_Wiki_Manual_-_Entering_and_Editing_Data:_Detailed'
WIKI_HELP_SEC = _('manual|Editing_Information_About_Events')
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# EditEvent class # EditEvent class
@ -195,8 +195,8 @@ class EditEvent(EditPrimary):
def help_clicked(self, obj): def help_clicked(self, obj):
"""Display the relevant portion of GRAMPS manual""" """Display the relevant portion of GRAMPS manual"""
GrampsDisplay.help('adv-ev') GrampsDisplay.help('adv-ev', webpage=WIKI_HELP_PAGE,
section=WIKI_HELP_SEC)
def save(self, *obj): def save(self, *obj):
self.ok_button.set_sensitive(False) self.ok_button.set_sensitive(False)
if self.object_is_empty(): if self.object_is_empty():