2007-11-13 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/GraphViz.py: issue #1362, code generation should not show open with ghostview, ..., instead show app with text/plain. svn: r9346
This commit is contained in:
parent
59dd029306
commit
766f2c4551
@ -1,3 +1,7 @@
|
|||||||
|
2007-11-13 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
|
* src/plugins/GraphViz.py: issue #1362, code generation should not show
|
||||||
|
open with ghostview, ..., instead show app with text/plain.
|
||||||
|
|
||||||
2007-11-12 Gary Burton <gary.burton@zen.co.uk>
|
2007-11-12 Gary Burton <gary.burton@zen.co.uk>
|
||||||
* src/ScratchPad.py: fixed a crash when building tooltip. Not enough
|
* src/ScratchPad.py: fixed a crash when building tooltip. Not enough
|
||||||
place holders in format string
|
place holders in format string
|
||||||
|
@ -355,6 +355,9 @@ GRAMPS - Relationship graph
|
|||||||
|
|
||||||
Generated on %s.
|
Generated on %s.
|
||||||
|
|
||||||
|
More info:
|
||||||
|
http://www.gramps-project.org/wiki/index.php?title=Howto:_Make_a_relationship_chart
|
||||||
|
|
||||||
Report content options:
|
Report content options:
|
||||||
include URLs : %s
|
include URLs : %s
|
||||||
IDs : %s
|
IDs : %s
|
||||||
@ -1014,6 +1017,12 @@ class GraphVizDialog(ReportDialog):
|
|||||||
def make_report(self):
|
def make_report(self):
|
||||||
"""Create the object that will produce the GraphViz file."""
|
"""Create the object that will produce the GraphViz file."""
|
||||||
GraphViz(self.database,self.person,self.options_class)
|
GraphViz(self.database,self.person,self.options_class)
|
||||||
|
if self.print_report.get_active ():
|
||||||
|
try:
|
||||||
|
app = Mime.get_application("text/plain")[0]
|
||||||
|
Utils.launch(app,self.options_class.get_output())
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
@ -1052,7 +1061,7 @@ class FormatComboBox(gtk.ComboBox):
|
|||||||
return '.dot'
|
return '.dot'
|
||||||
|
|
||||||
def get_printable(self):
|
def get_printable(self):
|
||||||
_apptype = _options.formats[self.get_active()][3]
|
_apptype = "text/plain"
|
||||||
print_label = None
|
print_label = None
|
||||||
try:
|
try:
|
||||||
mprog = Mime.get_application(_apptype)
|
mprog = Mime.get_application(_apptype)
|
||||||
|
Loading…
Reference in New Issue
Block a user