From cada86b952f53727fa25dc36730212872a8f5087 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 --- ChangeLog | 3 +++ NEWS | 2 +- src/docgen/ODFDoc.py | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 841290494..938f94a4f 100644 --- a/ChangeLog +++ b/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/NEWS b/NEWS index ad612f551..70c2577c0 100644 --- a/NEWS +++ b/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/src/docgen/ODFDoc.py b/src/docgen/ODFDoc.py index 9683fe92d..a946514ed 100644 --- a/src/docgen/ODFDoc.py +++ b/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);