Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd1e670 + b1f1c5e commit b44dffdCopy full SHA for b44dffd
1 file changed
Lib/idlelib/EditorWindow.py
@@ -887,9 +887,11 @@ def update_recent_files_list(self, new_file=None):
887
except OSError as err:
888
if not getattr(self.root, "recentfilelist_error_displayed", False):
889
self.root.recentfilelist_error_displayed = True
890
- tkMessageBox.showerror(title='IDLE Error',
891
- message='Unable to update Recent Files list:\n%s'
892
- % str(err),
+ tkMessageBox.showwarning(title='IDLE Warning',
+ message="Cannot update File menu Recent Files list. "
+ "Your operating system says:\n%s\n"
893
+ "Select OK and IDLE will continue without updating."
894
+ % self._filename_to_unicode(str(err)),
895
parent=self.text)
896
# for each edit window instance, construct the recent files menu
897
for instance in self.top.instance_dict:
0 commit comments