* all reports: switch categories from const to Report module.

svn: r5243
This commit is contained in:
Alex Roitman
2005-09-27 04:54:17 +00:00
parent f517351802
commit 4d3a6ffae7
28 changed files with 68 additions and 84 deletions

View File

@@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2004 Donald N. Allingham
# Copyright (C) 2000-2005 Donald N. Allingham
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -42,7 +42,6 @@ import Sort
from QuestionDialog import ErrorDialog
import ReportOptions
import ReportUtils
import const
import NameDisplay
#------------------------------------------------------------------------
@@ -247,7 +246,7 @@ class DescendantOptions(ReportOptions.ReportOptions):
from PluginMgr import register_report
register_report(
name = 'descend_report',
category = const.CATEGORY_TEXT,
category = Report.CATEGORY_TEXT,
report_class = DescendantReport,
options_class = DescendantOptions,
modes = Report.MODE_GUI | Report.MODE_BKI | Report.MODE_CLI,