Remove support for "View" reports. In the future, use either tools, gramplets, or quick views.
svn: r10424
This commit is contained in:
parent
9988d5ecfa
commit
cf6073a4ba
@ -45,16 +45,14 @@ CATEGORY_TEXT = 0
|
||||
CATEGORY_DRAW = 1
|
||||
CATEGORY_CODE = 2
|
||||
CATEGORY_WEB = 3
|
||||
CATEGORY_VIEW = 4
|
||||
CATEGORY_BOOK = 5
|
||||
CATEGORY_GRAPHVIZ = 6
|
||||
CATEGORY_BOOK = 4
|
||||
CATEGORY_GRAPHVIZ = 5
|
||||
|
||||
standalone_categories = {
|
||||
CATEGORY_TEXT : _("Text Reports"),
|
||||
CATEGORY_DRAW : _("Graphical Reports"),
|
||||
CATEGORY_CODE : _("Code Generators"),
|
||||
CATEGORY_WEB : _("Web Pages"),
|
||||
CATEGORY_VIEW : _("View"),
|
||||
CATEGORY_BOOK : _("Books"),
|
||||
CATEGORY_GRAPHVIZ : _("Graphs"),
|
||||
}
|
||||
|
@ -48,8 +48,8 @@ import Config
|
||||
import Errors
|
||||
from QuestionDialog import ErrorDialog, OptionDialog
|
||||
from _Constants import (CATEGORY_TEXT, CATEGORY_DRAW, CATEGORY_BOOK,
|
||||
CATEGORY_VIEW, CATEGORY_CODE, CATEGORY_WEB,
|
||||
CATEGORY_GRAPHVIZ, standalone_categories)
|
||||
CATEGORY_CODE, CATEGORY_WEB, CATEGORY_GRAPHVIZ,
|
||||
standalone_categories)
|
||||
from _BareReportDialog import BareReportDialog
|
||||
from _FileEntry import FileEntry
|
||||
|
||||
@ -287,7 +287,7 @@ def report(dbstate,uistate,person,report_class, options_class,
|
||||
elif category == CATEGORY_WEB:
|
||||
from _WebReportDialog import WebReportDialog
|
||||
dialog_class = WebReportDialog
|
||||
elif category in (CATEGORY_BOOK,CATEGORY_CODE,CATEGORY_VIEW):
|
||||
elif category in (CATEGORY_BOOK, CATEGORY_CODE):
|
||||
try:
|
||||
report_class(dbstate,uistate)
|
||||
except Errors.WindowActiveError:
|
||||
|
Loading…
Reference in New Issue
Block a user