* src/Plugins.py, src/PluginMgr.py: Move to ReportUtils.

svn: r6133
This commit is contained in:
Alex Roitman
2006-03-11 01:12:06 +00:00
parent 9d086fd022
commit 6b9d4207ce
91 changed files with 321 additions and 375 deletions

View File

@@ -1,7 +1,7 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000-2005 Donald N. Allingham
# Copyright (C) 2000-2006 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
@@ -34,7 +34,7 @@ from gettext import gettext as _
#
#------------------------------------------------------------------------
import BaseDoc
import PluginMgr
from PluginUtils import register_text_doc
import ImgManip
import Errors
import Mime
@@ -427,6 +427,6 @@ try:
print_label=_("Open in %s") % mprog[1]
else:
print_label=None
PluginMgr.register_text_doc(mtype, RTFDoc, 1, 1, 1, ".rtf", print_label)
register_text_doc(mtype, RTFDoc, 1, 1, 1, ".rtf", print_label)
except:
PluginMgr.register_text_doc(_('RTF document'), RTFDoc, 1, 1, 1, ".rtf", None)
register_text_doc(_('RTF document'), RTFDoc, 1, 1, 1, ".rtf", None)