From 6bfe82b5455c6ed30f38c68d543667dcd5d14862 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Sun, 2 Nov 2003 12:43:53 +0000 Subject: [PATCH] 2003-11-02 Tim Waugh * src/plugins/WriteGedcom.py (GedcomWriter.__init__): Fixed default filename for export. svn: r2311 --- gramps2/ChangeLog | 5 +++++ gramps2/src/plugins/WriteGedcom.py | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 9e76d5e63..caf17f652 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,8 @@ +2003-11-02 Tim Waugh + + * src/plugins/WriteGedcom.py (GedcomWriter.__init__): Fixed + default filename for export. + 2003-11-01 Don Allingham * src/StartupDialog.py: handle SuSE 9.0's broken handling of gconf diff --git a/gramps2/src/plugins/WriteGedcom.py b/gramps2/src/plugins/WriteGedcom.py index 4e6ed586e..17bfb313b 100644 --- a/gramps2/src/plugins/WriteGedcom.py +++ b/gramps2/src/plugins/WriteGedcom.py @@ -415,7 +415,8 @@ class GedcomWriter: target_obj.set_menu(myMenu) self.target_menu = myMenu - pathname = "%s.ged" % os.path.dirname(db.getSavePath()) + pathname = os.path.join (os.path.dirname(db.getSavePath()), + "export.ged") filetgt = self.topDialog.get_widget('fileentry1') filetgt.set_filename(pathname)