Remove the "print_label" construct from the reports. The only label is "Open with default viewer". No need to check the mime type or to look for the default application because Gramps uses the host OS to figure it out for the user.
svn: r12351
This commit is contained in:
@ -44,10 +44,8 @@ import const
|
||||
import Errors
|
||||
import BaseDoc
|
||||
from QuestionDialog import ErrorDialog, WarningDialog
|
||||
import Mime
|
||||
import Utils
|
||||
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
# Constant regular expressions
|
||||
@ -477,7 +475,5 @@ class HtmlDoc(BaseDoc.BaseDoc,BaseDoc.TextDoc):
|
||||
# Register the document generator with the GRAMPS plugin system
|
||||
#
|
||||
#------------------------------------------------------------------------
|
||||
print_label = None
|
||||
pmgr = PluginManager.get_instance()
|
||||
pmgr.register_text_doc(_('HTML'), HtmlDoc, 0, 1, ".html",
|
||||
_("Open with default viewer"))
|
||||
pmgr.register_text_doc(_('HTML'), HtmlDoc, 0, 1, ".html")
|
||||
|
Reference in New Issue
Block a user