From a349a401c2731f9be1c7d11f4662f407a94e2548 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Tue, 5 Aug 2003 01:34:59 +0000 Subject: [PATCH] * src/plugins/GraphViz.py (make_doc_menu): Add paper option to the menu. svn: r1959 --- gramps2/ChangeLog | 3 +++ gramps2/src/plugins/GraphViz.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index a65b93ca9..fd7f8ecf0 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2003-08-04 Alex Roitman + * src/plugins/GraphViz.py (make_doc_menu): Add paper option to the menu. + 2003-08-02 Alex Roitman * src/dialog.glade: Consistent tooltips. * src/gramps.glade: Likewise. diff --git a/gramps2/src/plugins/GraphViz.py b/gramps2/src/plugins/GraphViz.py index 4996360a2..d043439c6 100644 --- a/gramps2/src/plugins/GraphViz.py +++ b/gramps2/src/plugins/GraphViz.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000 Donald N. Allingham +# Copyright (C) 2000-2003 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 @@ -252,6 +252,7 @@ class GraphVizDialog(Report.ReportDialog): name = "Graphviz (dot)" menuitem = gtk.MenuItem (name) menuitem.set_data ("d", name) + menuitem.set_data("paper",1) if os.system ("dot /dev/null") == 0: menuitem.set_data ("printable", _("Generate print output")) menuitem.show ()