summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-12-22 18:16:04 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-12-22 18:16:04 (GMT)
commit6e683f351e982a50efe5f7389c91624e5194a3ff (patch)
tree1b0e0ad76b3d48ae54d6975ac0add779cb5a84d3
parent32bdae3b8c13ce1ad188318ebb50cb79b5109268 (diff)
downloadtk-6e683f351e982a50efe5f7389c91624e5194a3ff.zip
tk-6e683f351e982a50efe5f7389c91624e5194a3ff.tar.gz
tk-6e683f351e982a50efe5f7389c91624e5194a3ff.tar.bz2
[Bug 2919205]: Correct ordering of arguments to tk_messageBox.
-rw-r--r--ChangeLog5
-rw-r--r--library/tkfbox.tcl4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 34fbed8..3b0cca9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-22 Donal K. Fellows <dkf@users.sf.net>
+
+ * library/tkfbox.tcl (ListInvoke): [Bug 2919205]: Correct ordering of
+ arguments to tk_messageBox.
+
2009-12-20 Donal K. Fellows <dkf@users.sf.net>
* unix/tkUnixSend.c (ServerSecure): [Patch 2917663]: Better support
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index 91acef3..ccf984c 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.68.2.3 2009/10/22 10:27:58 dkf Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.68.2.4 2009/12/22 18:16:05 dkf Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -1819,7 +1819,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