Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.7] bpo-35769: Change IDLE's name for new files from 'Untitled' to 'untitled' (GH-11602) #11603

Merged
merged 1 commit into from
Jan 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Lib/idlelib/NEWS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Released on 2019-??-??
======================================


bpo-35769: Change new file name from 'Untitled' to 'untitled'.

bpo-35660: Fix imports in window module.

bpo-35641: Properly format calltip for function without docstring.
Expand Down
4 changes: 2 additions & 2 deletions Lib/idlelib/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def saved_change_hook(self):
elif long:
title = long
else:
title = "Untitled"
title = "untitled"
icon = short or long or title
if not self.get_saved():
title = "*%s*" % title
Expand All @@ -965,7 +965,7 @@ def short_title(self):
if filename:
filename = os.path.basename(filename)
else:
filename = "Untitled"
filename = "untitled"
# return unicode string to display non-ASCII chars correctly
return self._filename_to_unicode(filename)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change IDLE's new file name from 'Untitled' to 'untitled'