Merged revisions 87119 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87119 | ronald.oussoren | 2010-12-07 16:28:10 +0100 (Tue, 07 Dec 2010) | 2 lines

  Fix for issue #10107: Without this patch IDLE on OSX doesn't warn about unsaved files when quitting.
........
This commit is contained in:
Ronald Oussoren 2010-12-07 16:02:59 +00:00
parent d8e4edd5d2
commit 8ec374cc93
3 changed files with 8 additions and 1 deletions

View file

@ -43,7 +43,7 @@ class FileList:
def new(self, filename=None):
return self.EditorWindow(self, filename)
def close_all_callback(self, event):
def close_all_callback(self, *args, **kwds):
for edit in self.inversedict.keys():
reply = edit.close()
if reply == "cancel":