Config method changed

svn: r6429
This commit is contained in:
Don Allingham
2006-04-24 21:04:01 +00:00
parent 999711b902
commit 5afa945819
24 changed files with 557 additions and 1068 deletions

View File

@@ -116,7 +116,7 @@ class EditPrimary(ManagedWindow.ManagedWindow):
def close(self,*obj):
"""If the data has changed, give the user a chance to cancel
the close window"""
if not Config.get_dont_ask() and self.data_has_changed():
if not Config.get(Config.DONT_ASK) and self.data_has_changed():
SaveDialog(
_('Save Changes?'),
_('If you close without saving, the changes you '