* src/plugins/GraphViz.py (make_doc_menu): Add paper option to the menu.

svn: r1959
This commit is contained in:
Alex Roitman 2003-08-05 01:34:59 +00:00
parent 0ff39d38a0
commit 898b33efef
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2003-08-04 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/GraphViz.py (make_doc_menu): Add paper option to the menu.
2003-08-02 Alex Roitman <shura@alex.neuro.umn.edu>
* src/dialog.glade: Consistent tooltips.
* src/gramps.glade: Likewise.

View File

@ -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 2>/dev/null") == 0:
menuitem.set_data ("printable", _("Generate print output"))
menuitem.show ()