diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 995d93bc2..e2b6fb246 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,4 +1,6 @@ 2007-01-27 Don Allingham + * 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 diff --git a/gramps2/src/DisplayState.py b/gramps2/src/DisplayState.py index 156c02950..82c9372e9 100644 --- a/gramps2/src/DisplayState.py +++ b/gramps2/src/DisplayState.py @@ -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 diff --git a/gramps2/src/ViewManager.py b/gramps2/src/ViewManager.py index 08cea323b..146a56991 100644 --- a/gramps2/src/ViewManager.py +++ b/gramps2/src/ViewManager.py @@ -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()