mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Patch #1538878: Don't make tkSimpleDialog dialogs transient if
the parent window is withdrawn. This mirrors what dialog.tcl does.
This commit is contained in:
parent
830358af09
commit
ce9212f018
2 changed files with 9 additions and 1 deletions
|
@ -46,6 +46,11 @@ class Dialog(Toplevel):
|
||||||
title -- the dialog title
|
title -- the dialog title
|
||||||
'''
|
'''
|
||||||
Toplevel.__init__(self, parent)
|
Toplevel.__init__(self, parent)
|
||||||
|
|
||||||
|
# If the master is not viewable, don't
|
||||||
|
# make the child transient, or else it
|
||||||
|
# would be opened withdrawn
|
||||||
|
if parent.winfo_viewable():
|
||||||
self.transient(parent)
|
self.transient(parent)
|
||||||
|
|
||||||
if title:
|
if title:
|
||||||
|
|
|
@ -103,6 +103,9 @@ Extension Modules
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Patch #1538878: Don't make tkSimpleDialog dialogs transient if
|
||||||
|
the parent window is withdrawn.
|
||||||
|
|
||||||
- Patch #1360200: Use unmangled_version RPM spec field to deal with
|
- Patch #1360200: Use unmangled_version RPM spec field to deal with
|
||||||
file name mangling.
|
file name mangling.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue