From d691b8b4b71d6797302ebeccfd66af4daa07e458 Mon Sep 17 00:00:00 2001 From: patthoyts Date: Wed, 7 Jan 2009 14:35:38 +0000 Subject: Applied patch from [Bug 2473120] to fix the arguments to tk_messageBox call in the tk_chooseDirectory unix implementation. FossilOrigin-Name: b805b8b4cebd3f194f5c094ce632d50dae8ca139 --- ChangeLog | 2 ++ library/tkfbox.tcl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 342dbd6..bf127f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-01-07 Pat Thoyts + * library/tkfbox.tcl: [Bug 2473120] mis-ordered messagebox args. + * win/tkWinWm.c: prevent grabs being bypassed on Windows [Bug 1847002] 2009-01-06 Jan Nijtmans diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl index 98cde58..03d8859 100644 --- a/library/tkfbox.tcl +++ b/library/tkfbox.tcl @@ -11,7 +11,7 @@ # files by clicking on the file icons or by entering a filename # in the "Filename:" entry. # -# RCS: @(#) $Id: tkfbox.tcl,v 1.70 2008/12/11 18:13:08 jenglish Exp $ +# RCS: @(#) $Id: tkfbox.tcl,v 1.71 2009/01/07 14:35:39 patthoyts Exp $ # # Copyright (c) 1994-1998 Sun Microsystems, Inc. # @@ -1815,7 +1815,7 @@ proc ::tk::dialog::file::ListInvoke {w filenames} { if {$class eq "TkChooseDir" || [file isdirectory $file]} { set appPWD [pwd] if {[catch {cd $file}]} { - tk_messageBox -type ok -parent $w -message -icon warning \ + tk_messageBox -type ok -parent $w -icon warning -message \ [mc "Cannot change to the directory \"%1\$s\".\nPermission denied." $file] } else { cd $appPWD -- cgit v0.12