Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-112898: Fix double close dialog with warning about unsafed files#113513

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ronaldoussoren wants to merge18 commits intopython:main
base:main
Choose a base branch
Loading
fromronaldoussoren:gh-112898-double-dialog
Open
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
a0bb7ab
gh-112898: Fix double close dialog with warning about unsafed files
ronaldoussorenDec 27, 2023
eda5750
Actually work with various quit events (menu, shortcut, osascript)
ronaldoussorenDec 27, 2023
3686a65
Remove comment that is no longer needed
ronaldoussorenDec 27, 2023
b305b36
Restore working code path
ronaldoussorenDec 27, 2023
a84a2d7
Crude hack to make sure the quit command is called
ronaldoussorenDec 27, 2023
0ce7d86
Remove unnecesary key setup
ronaldoussorenDec 27, 2023
ce08ba0
Remove unnecessary import
ronaldoussorenDec 27, 2023
92c1206
typo
ronaldoussorenDec 27, 2023
4cefbea
Getting lost ...
ronaldoussorenDec 27, 2023
bbdee67
Restructure code to avoid creating a temporary ``tkinter.Tk``
ronaldoussorenDec 28, 2023
ab7800a
Document why the close-all-windows keybinding is removed on macOS
ronaldoussorenDec 28, 2023
63087e3
Fix test failure and lint warning
ronaldoussorenDec 28, 2023
4c7ad17
Merge branch 'main' into gh-112898-double-dialog
ronaldoussorenJan 9, 2024
4794ee7
The changes to macosx.py broke some of the tests
ronaldoussorenJan 9, 2024
8d9a7f0
Fix copy&paste error
ronaldoussorenJan 9, 2024
7ccc8fa
Merge branch 'main' into gh-112898-double-dialog
terryjreedyFeb 4, 2024
bf6f348
review comments
ronaldoussorenFeb 10, 2024
60ccabb
Merge branch 'gh-112898-double-dialog' of github.com:ronaldoussoren/c…
ronaldoussorenFeb 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
review comments
  • Loading branch information
@ronaldoussoren
ronaldoussoren committedFeb 10, 2024
commitbf6f348c40228dda24edec349b324ab1d13b00cd
2 changes: 1 addition & 1 deletionLib/idlelib/config.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -667,7 +667,7 @@ def GetCoreKeys(self, keySetName=None):
# to the key bindings an rely the default binding.
#
# Without this IDLE will prompt twice about closing a file with
# unsaved#changes when the user quits IDLE using the keyboard
# unsaved changes when the user quits IDLE using the keyboard
# shortcutand then chooses "Cancel" the first time the dialog
# appears.
del keyBindings['<<close-all-windows>>']
Expand Down
2 changes: 1 addition & 1 deletionLib/idlelib/pyshell.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -1611,7 +1611,6 @@ def main():
from idlelib.run import fix_scaling
fix_scaling(root)

# start editor and/or shell windows:
fixwordbreaks(root)
fix_x11_paste(root)
flist = PyShellFileList(root)
Expand All@@ -1636,6 +1635,7 @@ def main():
root.wm_iconphoto(True, *icons)


# start editor and/or shell windows:
if enable_edit:
if not (cmd or script):
for filename in args[:]:
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp