From bdfe040d0d2ddc71e63d94598db107a03f9d3468 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 9 Jan 2004 03:58:17 +0000 Subject: [PATCH] * src/docgen/PdfDoc.py: Set print_label to None. * src/docgen/KwordDoc.py: Set print_label to None. * src/docgen/HtmlDoc.py: Set print_label to None. * src/docgen/AbiWord2Doc.py: Set print_label to None. * src/docgen/RTFDoc.py: Set print_label to None. svn: r2616 --- ChangeLog | 5 +++++ src/docgen/AbiWord2Doc.py | 5 +++-- src/docgen/HtmlDoc.py | 5 +++-- src/docgen/KwordDoc.py | 5 +++-- src/docgen/PdfDoc.py | 5 +++-- src/docgen/RTFDoc.py | 5 +++-- 6 files changed, 20 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3a7ff9e37..ebfb5bd65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,11 @@ 2004-01-08 Alex Roitman * src/FamilyView.py (delete_family_from): Remove extra "[0]". * src/plugins/rel_de.py: Update. + * src/docgen/PdfDoc.py: Set print_label to None. + * src/docgen/KwordDoc.py: Set print_label to None. + * src/docgen/HtmlDoc.py: Set print_label to None. + * src/docgen/AbiWord2Doc.py: Set print_label to None. + * src/docgen/RTFDoc.py: Set print_label to None. 2004-01-07 Egyeki Gergely * src/plugins/rel_hu.py: Add to CVS. diff --git a/src/docgen/AbiWord2Doc.py b/src/docgen/AbiWord2Doc.py index c6a34eec3..f16bf42cc 100644 --- a/src/docgen/AbiWord2Doc.py +++ b/src/docgen/AbiWord2Doc.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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 @@ -312,6 +312,7 @@ class AbiWordDoc(BaseDoc.BaseDoc): # #-------------------------------------------------------------------------- +print_label = None try: import grampslib import Utils @@ -320,6 +321,6 @@ try: if Utils.search_for(prog): print_label=_("Open in AbiWord") except: - print_label = None + pass Plugins.register_text_doc(_("AbiWord"),AbiWordDoc,1,1,1,".abw", print_label) diff --git a/src/docgen/HtmlDoc.py b/src/docgen/HtmlDoc.py index 0596d03c4..78b05b9ec 100644 --- a/src/docgen/HtmlDoc.py +++ b/src/docgen/HtmlDoc.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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 @@ -471,6 +471,7 @@ class HtmlDoc(BaseDoc.BaseDoc): # #------------------------------------------------------------------------ +print_label = None try: import grampslib import Utils @@ -480,6 +481,6 @@ try: if Utils.search_for(prog): print_label=_("Open in %s") % desc except: - print_label = None + pass Plugins.register_text_doc(_("HTML"),HtmlDoc,1,0,1,".html", print_label) diff --git a/src/docgen/KwordDoc.py b/src/docgen/KwordDoc.py index 9fbb7c961..5554b29b8 100644 --- a/src/docgen/KwordDoc.py +++ b/src/docgen/KwordDoc.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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 @@ -490,6 +490,7 @@ class KwordDoc(BaseDoc.BaseDoc): # #------------------------------------------------------------------------ +print_label = None try: import grampslib import Utils @@ -499,6 +500,6 @@ try: if Utils.search_for(prog): print_label=_("Open in %s") % desc except: - print_label = None + pass Plugins.register_text_doc(_("KWord"),KwordDoc,1,1,1,".kwd") diff --git a/src/docgen/PdfDoc.py b/src/docgen/PdfDoc.py index 0c962cb5a..8ae17681e 100644 --- a/src/docgen/PdfDoc.py +++ b/src/docgen/PdfDoc.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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 @@ -573,6 +573,7 @@ def make_color(c): # #------------------------------------------------------------------------ +print_label = None try: import grampslib import Utils @@ -582,7 +583,7 @@ try: if Utils.search_for(prog): print_label=_("Open in %s") % desc except: - print_label = None + pass Plugins.register_draw_doc( _("PDF"), diff --git a/src/docgen/RTFDoc.py b/src/docgen/RTFDoc.py index 6557c5ef4..27b85958d 100644 --- a/src/docgen/RTFDoc.py +++ b/src/docgen/RTFDoc.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2003 Donald N. Allingham +# Copyright (C) 2000-2004 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 @@ -416,6 +416,7 @@ class RTFDoc(BaseDoc.BaseDoc): # Register the document generator with the GRAMPS plugin system # #------------------------------------------------------------------------ +print_label = None try: import grampslib import Utils @@ -425,6 +426,6 @@ try: if Utils.search_for(prog): print_label=_("Open in %s") % desc except: - print_label = None + pass Plugins.register_text_doc(_("Rich Text Format (RTF)"),RTFDoc,1,1,1,".rtf", print_label)