Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3aee9416
Commit
3aee9416
authored
May 29, 2012
by
Ned Deily
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
parent
e1ad3dac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Lib/idlelib/EditorWindow.py
Lib/idlelib/EditorWindow.py
+1
-1
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/idlelib/EditorWindow.py
View file @
3aee9416
...
...
@@ -860,7 +860,7 @@ class EditorWindow(object):
# for each edit window instance, construct the recent files menu
for
instance
in
self
.
top
.
instance_dict
:
menu
=
instance
.
recent_files_menu
menu
.
delete
(
1
,
END
)
# clear, and rebuild:
menu
.
delete
(
0
,
END
)
# clear, and rebuild:
for
i
,
file_name
in
enumerate
(
rf_list
):
file_name
=
file_name
.
rstrip
()
# zap \n
# make unicode string to display non-ASCII chars correctly
...
...
Misc/NEWS
View file @
3aee9416
...
...
@@ -70,6 +70,8 @@ Core and Builtins
Library
-------
- Issue #10997: Prevent a duplicate entry in IDLE's "Recent Files" menu.
- Issue #14443: Tell rpmbuild to use the correct version of Python in
bdist_rpm. Initial patch by Ross Lagerwall.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment