* src/plugins/GraphViz.py (make_doc_menu): Add paper option to the menu.
svn: r1959
This commit is contained in:
parent
e95dc44bbf
commit
a349a401c2
@ -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>
|
2003-08-02 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||||
* src/dialog.glade: Consistent tooltips.
|
* src/dialog.glade: Consistent tooltips.
|
||||||
* src/gramps.glade: Likewise.
|
* src/gramps.glade: Likewise.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# 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
|
# 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
|
||||||
@ -252,6 +252,7 @@ class GraphVizDialog(Report.ReportDialog):
|
|||||||
name = "Graphviz (dot)"
|
name = "Graphviz (dot)"
|
||||||
menuitem = gtk.MenuItem (name)
|
menuitem = gtk.MenuItem (name)
|
||||||
menuitem.set_data ("d", name)
|
menuitem.set_data ("d", name)
|
||||||
|
menuitem.set_data("paper",1)
|
||||||
if os.system ("dot </dev/null 2>/dev/null") == 0:
|
if os.system ("dot </dev/null 2>/dev/null") == 0:
|
||||||
menuitem.set_data ("printable", _("Generate print output"))
|
menuitem.set_data ("printable", _("Generate print output"))
|
||||||
menuitem.show ()
|
menuitem.show ()
|
||||||
|
Loading…
Reference in New Issue
Block a user