Reports handle file extensions and check for existing file.
svn: r1462
This commit is contained in:
@@ -163,6 +163,7 @@ class AncestorChart:
|
||||
g.set_width(self.box_width)
|
||||
g.set_paragraph_style("Normal")
|
||||
g.set_shadow(1)
|
||||
g.set_fill_color((255,255,255))
|
||||
self.doc.add_draw_style("box",g)
|
||||
|
||||
g = DrawDoc.GraphicsStyle()
|
||||
|
||||
@@ -315,6 +315,10 @@ class TimeLineDialog(Report.DrawReportDialog):
|
||||
return "%s - %s - GRAMPS" % (_("Timeline"),
|
||||
_("Graphical Reports"))
|
||||
|
||||
def get_stylesheet_savefile(self):
|
||||
"""Where to save user defined styles for this report."""
|
||||
return "timeline.xml"
|
||||
|
||||
def get_target_browser_title(self):
|
||||
"""The title of the window created when the 'browse' button is
|
||||
clicked in the 'Save As' frame."""
|
||||
|
||||
@@ -36,7 +36,6 @@ import re
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gtk
|
||||
import gnome.ui
|
||||
import gtk.glade
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user