Make the report wiki url a constant.

svn: r10472
This commit is contained in:
Brian Matherly 2008-04-05 12:38:47 +00:00
parent ec5a0a792b
commit ac83ce0468

View File

@ -51,6 +51,13 @@ import logging
log = logging.getLogger(".") log = logging.getLogger(".")
#-------------------------------------------------------------------------
#
# Private Constants
#
#-------------------------------------------------------------------------
URL_REPORT_PAGE = "Gramps_3.0_Wiki_Manual_-_Reports"
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
# #
# BareReportDialog class # BareReportDialog class
@ -448,7 +455,7 @@ class BareReportDialog(ManagedWindow.ManagedWindow):
def on_help_clicked(self, *obj): def on_help_clicked(self, *obj):
import GrampsDisplay import GrampsDisplay
GrampsDisplay.help(None, GrampsDisplay.help(None,
"Gramps_3.0_Wiki_Manual_-_Reports", URL_REPORT_PAGE,
self.report_name.replace(" ", "_") ) self.report_name.replace(" ", "_") )
def on_ok_clicked(self, obj): def on_ok_clicked(self, obj):