From ac83ce04682d2f0fdc557fba48d338f270216bbb Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sat, 5 Apr 2008 12:38:47 +0000 Subject: [PATCH] Make the report wiki url a constant. svn: r10472 --- src/ReportBase/_BareReportDialog.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ReportBase/_BareReportDialog.py b/src/ReportBase/_BareReportDialog.py index 737bc3073..b4b9d700f 100644 --- a/src/ReportBase/_BareReportDialog.py +++ b/src/ReportBase/_BareReportDialog.py @@ -51,6 +51,13 @@ import logging log = logging.getLogger(".") +#------------------------------------------------------------------------- +# +# Private Constants +# +#------------------------------------------------------------------------- +URL_REPORT_PAGE = "Gramps_3.0_Wiki_Manual_-_Reports" + #------------------------------------------------------------------------- # # BareReportDialog class @@ -448,7 +455,7 @@ class BareReportDialog(ManagedWindow.ManagedWindow): def on_help_clicked(self, *obj): import GrampsDisplay GrampsDisplay.help(None, - "Gramps_3.0_Wiki_Manual_-_Reports", + URL_REPORT_PAGE, self.report_name.replace(" ", "_") ) def on_ok_clicked(self, obj):