diff options
author | mdejong <mdejong> | 2002-06-12 23:08:11 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-06-12 23:08:11 (GMT) |
commit | e06013dff27b79e915a083567f787260b69d5f16 (patch) | |
tree | 63c9432dfc34ae837dc633748cf0a09e8dcef2ea /library/msgbox.tcl | |
parent | d0a1bb90be7ff13f1f6e4726a619d023aed98e71 (diff) | |
download | tk-e06013dff27b79e915a083567f787260b69d5f16.zip tk-e06013dff27b79e915a083567f787260b69d5f16.tar.gz tk-e06013dff27b79e915a083567f787260b69d5f16.tar.bz2 |
* library/choosedir.tcl (tk::dialog::file::chooseDir):
* library/clrpick.tcl (tk::dialog::color):
* library/dialog.tcl (tk_dialog):
* library/msgbox.tcl (tk::MessageBox):
* library/tkfbox.tcl (tk::dialog::file):
* library/xmfbox.tcl (tk::MotifFDialog_Create):
Only make the dialog window a transient if
the master is visible. This check already
appeared in some of the dialogs. This patch
just copies the check into those that were
lacking.
Diffstat (limited to 'library/msgbox.tcl')
-rw-r--r-- | library/msgbox.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/msgbox.tcl b/library/msgbox.tcl index c102a62..bd62167 100644 --- a/library/msgbox.tcl +++ b/library/msgbox.tcl @@ -3,7 +3,7 @@ # Implements messageboxes for platforms that do not have native # messagebox support. # -# RCS: @(#) $Id: msgbox.tcl,v 1.18 2002/06/10 00:15:42 a_kovalenko Exp $ +# RCS: @(#) $Id: msgbox.tcl,v 1.19 2002/06/12 23:08:12 mdejong Exp $ # # Copyright (c) 1994-1997 Sun Microsystems, Inc. # @@ -252,7 +252,7 @@ proc ::tk::MessageBox {args} { # "grab"bed windows. So only make the message box transient if the parent # is viewable. # - if { [winfo viewable [winfo toplevel $data(-parent)]] } { + if {[winfo viewable [winfo toplevel $data(-parent)]] } { wm transient $w $data(-parent) } |