* src/Exporter.py (Exporter.native_export): Use callback.

* src/Utils.py (get_new_filename): Add path separator.
	* src/GrampsDb/_WriteGrdb.py: Proper export of tables with and
	without transaction support, add callback.


svn: r6600
This commit is contained in:
Alex Roitman
2006-05-09 23:15:38 +00:00
parent 8133c888f8
commit 8a8d5342ce
4 changed files with 93 additions and 28 deletions

View File

@@ -331,7 +331,7 @@ class Exporter:
else:
return 0
def native_export(self,database,filename,person):
def native_export(self,database,filename,person,callback=None):
"""
Native database export.
@@ -340,7 +340,8 @@ class Exporter:
try:
gramps_db_writer_factory(const.app_gramps)(database,
filename,
person)
person,
callback)
return 1
except IOError, msg:
QuestionDialog.ErrorDialog(