* src/DbPrompter.py (NewNativeDbPrompter.chooser):
Initialize natvie database before attempting to load. svn: r3886
This commit is contained in:
parent
894aa1d810
commit
06ffc847e9
@ -9,6 +9,8 @@
|
|||||||
get_family_from_gramps_id,get_place_from_gramps_id,
|
get_family_from_gramps_id,get_place_from_gramps_id,
|
||||||
get_source_from_gramps_id,get_object_from_gramps_id):
|
get_source_from_gramps_id,get_object_from_gramps_id):
|
||||||
Unserialize tuple and return a proper GRAMPS object.
|
Unserialize tuple and return a proper GRAMPS object.
|
||||||
|
* src/DbPrompter.py (NewNativeDbPrompter.chooser):
|
||||||
|
Initialize natvie database before attempting to load.
|
||||||
|
|
||||||
2005-01-07 Don Allingham <dallingham@users.sourceforge.net>
|
2005-01-07 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/gramps.glade: removal of more OptionMenus in favor
|
* src/gramps.glade: removal of more OptionMenus in favor
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2004 Donald N. Allingham
|
# Copyright (C) 2000-2005 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
|
||||||
@ -357,6 +357,7 @@ class NewNativeDbPrompter:
|
|||||||
if os.path.splitext(filename)[1] != ".grdb":
|
if os.path.splitext(filename)[1] != ".grdb":
|
||||||
filename = filename + ".grdb"
|
filename = filename + ".grdb"
|
||||||
choose.destroy()
|
choose.destroy()
|
||||||
|
self.parent.db = GrampsBSDDB.GrampsBSDDB()
|
||||||
self.parent.read_file(filename)
|
self.parent.read_file(filename)
|
||||||
# Add the file to the recent items
|
# Add the file to the recent items
|
||||||
RecentFiles.recent_files(filename,const.app_gramps)
|
RecentFiles.recent_files(filename,const.app_gramps)
|
||||||
|
Loading…
Reference in New Issue
Block a user