diff options
author | mdejong <mdejong@noemail.net> | 2002-06-13 06:17:20 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2002-06-13 06:17:20 (GMT) |
commit | 888701a7372bc670bea37b394dad4847b36e737e (patch) | |
tree | 5d8066453be4b1d16170803d1ae501fac752a956 /library/clrpick.tcl | |
parent | a5cebe0205baaeefb7e02687a0ef9ff5da5677d1 (diff) | |
download | tk-888701a7372bc670bea37b394dad4847b36e737e.zip tk-888701a7372bc670bea37b394dad4847b36e737e.tar.gz tk-888701a7372bc670bea37b394dad4847b36e737e.tar.bz2 |
* library/choosedir.tcl (tk::dialog::file::chooseDir):
* library/clrpick.tcl (tk::dialog::file::chooseDir):
* library/msgbox.tcl (tk::MessageBox):
* library/tkfbox.tcl (tk::dialog::file):
* library/xmfbox.tcl (tk::MotifFDialog): Remove the
transient property on dialogs after they have been
dismissed to insulate them from further state changes
in the master. This keeps a withdrawn dialog from
being mapped when the master is deiconified. [Tk patch 568278]
FossilOrigin-Name: e3449e31355a45e3e239f8ad595515b228bd311c
Diffstat (limited to 'library/clrpick.tcl')
-rw-r--r-- | library/clrpick.tcl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/library/clrpick.tcl b/library/clrpick.tcl index 6a39220..f80d752 100644 --- a/library/clrpick.tcl +++ b/library/clrpick.tcl @@ -3,7 +3,7 @@ # Color selection dialog for platforms that do not support a # standard color selection dialog. # -# RCS: @(#) $Id: clrpick.tcl,v 1.17 2002/06/12 23:08:12 mdejong Exp $ +# RCS: @(#) $Id: clrpick.tcl,v 1.18 2002/06/13 06:17:21 mdejong Exp $ # # Copyright (c) 1996 Sun Microsystems, Inc. # @@ -109,6 +109,13 @@ proc ::tk::dialog::color:: {args} { ::tk::RestoreFocusGrab $w $data(okBtn) unset data + # Remove the transient property to insulate the + # dialog from changes in the master's state. + + if {[winfo exists $w]} { + wm transient $w {} + } + return $Priv(selectColor) } |