2007-06-11 Don Allingham <don@gramps-project.org>

* src/ViewManager.py: Improve backup strategy
	* src/GrampsDb/_GrampsDBDir.py: Improve backup strategy
	* src/DbManager.py: Improve backup strategy
	* src/glade/gramps.glade: Improve backup strategy
	* src/Errors.py: Improve backup strategy
	* src/GrampsDbUtils/_Backup.py: Improve backup strategy



svn: r8538
This commit is contained in:
Don Allingham
2007-06-12 04:29:15 +00:00
parent 6bf09da13d
commit e05e6b4edd
9 changed files with 189 additions and 95 deletions

View File

@ -528,7 +528,7 @@ class ViewManager:
def backup(self):
"""
Backup the current file as an XML file.
Backup the current file as a backup file.
"""
import GrampsDbUtils
@ -959,7 +959,6 @@ class ViewManager:
"\n" + str(msg))
return
self.state.change_database(dbclass(Config.get(Config.TRANSACTIONS)))
self.state.db.disable_signals()