* 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
This commit is contained in:
Alex Roitman 2004-01-09 03:58:17 +00:00
parent 934ca4f245
commit bdfe040d0d
6 changed files with 20 additions and 10 deletions

View File

@ -10,6 +10,11 @@
2004-01-08 Alex Roitman <shura@alex.neuro.umn.edu> 2004-01-08 Alex Roitman <shura@alex.neuro.umn.edu>
* src/FamilyView.py (delete_family_from): Remove extra "[0]". * src/FamilyView.py (delete_family_from): Remove extra "[0]".
* src/plugins/rel_de.py: Update. * 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 <egeri@elte.hu> 2004-01-07 Egyeki Gergely <egeri@elte.hu>
* src/plugins/rel_hu.py: Add to CVS. * src/plugins/rel_hu.py: Add to CVS.

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # 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: try:
import grampslib import grampslib
import Utils import Utils
@ -320,6 +321,6 @@ try:
if Utils.search_for(prog): if Utils.search_for(prog):
print_label=_("Open in AbiWord") print_label=_("Open in AbiWord")
except: except:
print_label = None pass
Plugins.register_text_doc(_("AbiWord"),AbiWordDoc,1,1,1,".abw", print_label) Plugins.register_text_doc(_("AbiWord"),AbiWordDoc,1,1,1,".abw", print_label)

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # 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: try:
import grampslib import grampslib
import Utils import Utils
@ -480,6 +481,6 @@ try:
if Utils.search_for(prog): if Utils.search_for(prog):
print_label=_("Open in %s") % desc print_label=_("Open in %s") % desc
except: except:
print_label = None pass
Plugins.register_text_doc(_("HTML"),HtmlDoc,1,0,1,".html", print_label) Plugins.register_text_doc(_("HTML"),HtmlDoc,1,0,1,".html", print_label)

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # 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: try:
import grampslib import grampslib
import Utils import Utils
@ -499,6 +500,6 @@ try:
if Utils.search_for(prog): if Utils.search_for(prog):
print_label=_("Open in %s") % desc print_label=_("Open in %s") % desc
except: except:
print_label = None pass
Plugins.register_text_doc(_("KWord"),KwordDoc,1,1,1,".kwd") Plugins.register_text_doc(_("KWord"),KwordDoc,1,1,1,".kwd")

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # 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: try:
import grampslib import grampslib
import Utils import Utils
@ -582,7 +583,7 @@ try:
if Utils.search_for(prog): if Utils.search_for(prog):
print_label=_("Open in %s") % desc print_label=_("Open in %s") % desc
except: except:
print_label = None pass
Plugins.register_draw_doc( Plugins.register_draw_doc(
_("PDF"), _("PDF"),

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # 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 # 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 # 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 # Register the document generator with the GRAMPS plugin system
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
print_label = None
try: try:
import grampslib import grampslib
import Utils import Utils
@ -425,6 +426,6 @@ try:
if Utils.search_for(prog): if Utils.search_for(prog):
print_label=_("Open in %s") % desc print_label=_("Open in %s") % desc
except: except:
print_label = None pass
Plugins.register_text_doc(_("Rich Text Format (RTF)"),RTFDoc,1,1,1,".rtf", print_label) Plugins.register_text_doc(_("Rich Text Format (RTF)"),RTFDoc,1,1,1,".rtf", print_label)