* src/ViewManager.py: block interface on autobackup (#856)
* src/DisplayState.py: block interface on autobackup svn: r7998
This commit is contained in:
parent
b5aa6154b3
commit
d54c69bec7
@ -1,4 +1,6 @@
|
||||
2007-01-27 Don Allingham <don@gramps-project.org>
|
||||
* src/ViewManager.py: block interface on autobackup (#856)
|
||||
* src/DisplayState.py: block interface on autobackup
|
||||
* src/Utils.py: handle missing/invalid encoding
|
||||
* src/DisplayModels/_BaseModel.py: handle None vs. 0
|
||||
* src/Editors/_EditPerson.py (EditPerson._image_button_press): check
|
||||
|
@ -283,6 +283,9 @@ class DisplayState(GrampsDb.GrampsDBCallback):
|
||||
# This call has been moved one level up,
|
||||
# but this connection is still made!
|
||||
# self.dbstate.connect('database-changed', self.db_changed)
|
||||
|
||||
def set_sensitive(self, state):
|
||||
self.window.set_sensitive(state)
|
||||
|
||||
def db_changed(self, db):
|
||||
from PluginUtils import _PluginMgr
|
||||
|
@ -487,6 +487,7 @@ class ViewManager:
|
||||
self.uistate.push_message(self.state,_('Ready'))
|
||||
|
||||
def quit(self, *obj):
|
||||
self.uistate.set_sensitive(False)
|
||||
self.backup()
|
||||
self.state.db.close()
|
||||
(width, height) = self.window.get_size()
|
||||
|
Loading…
Reference in New Issue
Block a user