summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2009-01-07 14:35:38 (GMT)
committerpatthoyts <patthoyts@noemail.net>2009-01-07 14:35:38 (GMT)
commitd691b8b4b71d6797302ebeccfd66af4daa07e458 (patch)
tree96244c0d96511d9b8d025c31cfb8a28c21698481 /library/tkfbox.tcl
parent94ac7f6c448dad1021725e503ec507a36d05bed5 (diff)
downloadtk-d691b8b4b71d6797302ebeccfd66af4daa07e458.zip
tk-d691b8b4b71d6797302ebeccfd66af4daa07e458.tar.gz
tk-d691b8b4b71d6797302ebeccfd66af4daa07e458.tar.bz2
Applied patch from [Bug 2473120] to fix the arguments to tk_messageBox call in the tk_chooseDirectory unix implementation.
FossilOrigin-Name: b805b8b4cebd3f194f5c094ce632d50dae8ca139
Diffstat (limited to 'library/tkfbox.tcl')
-rw-r--r--library/tkfbox.tcl4
1 files changed, 2 insertions, 2 deletions
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