From e64d32ebda98d766be3b476fd396a16a91e786d1 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sun, 26 Nov 2006 19:33:48 +0000 Subject: [PATCH] 2006-11-26 Don Allingham * src/docgen/ODFDoc.py: fix registration svn: r7706 --- gramps2/ChangeLog | 3 +++ gramps2/NEWS | 2 +- gramps2/src/docgen/ODFDoc.py | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 841290494..938f94a4f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2006-11-26 Don Allingham + * src/docgen/ODFDoc.py: fix registration + 2006-11-25 Don Allingham * src/Config/_GrampsConfigKeys.py: remember window size * src/Editors/_EditAddress.py: remember window size diff --git a/gramps2/NEWS b/gramps2/NEWS index ad612f551..70c2577c0 100644 --- a/gramps2/NEWS +++ b/gramps2/NEWS @@ -7,7 +7,7 @@ Version 2.2.3 -- the "My philosophy, like color television, is all there in blac * Turkish translation added (Mehmet Ugur Kecik). * Autobackup feature will save data on exit in XML format * Many edit dialogs now save their last size -* Relationship View enhancements - scrolling and buton handling +* Relationship View enhancements - scrolling and button handling * Bug fixes Version 2.2.2 -- the "We interrupt this program to annoy you and make things generally irritating" release diff --git a/gramps2/src/docgen/ODFDoc.py b/gramps2/src/docgen/ODFDoc.py index 9683fe92d..a946514ed 100644 --- a/gramps2/src/docgen/ODFDoc.py +++ b/gramps2/src/docgen/ODFDoc.py @@ -1184,6 +1184,6 @@ try: except: print_label = None -register_text_doc(_('Open Document Text'),ODFDoc,1,1,1,".odt", None) -register_book_doc(_("Open Document Text"),ODFDoc,1,1,1,".odt") -register_draw_doc(_("Open Document Text"),ODFDoc,1,1,".odt",None); +register_text_doc(_('Open Document Text'), ODFDoc, 1, 1, 1, ".odt", print_label) +register_book_doc(_("Open Document Text"), ODFDoc, 1, 1, 1, ".odt") +register_draw_doc(_("Open Document Text"), ODFDoc, 1, 1, ".odt", print_label);