From 6e683f351e982a50efe5f7389c91624e5194a3ff Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 22 Dec 2009 18:16:04 +0000 Subject: [Bug 2919205]: Correct ordering of arguments to tk_messageBox. --- ChangeLog | 5 +++++ library/tkfbox.tcl | 4 ++-- 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 + + * library/tkfbox.tcl (ListInvoke): [Bug 2919205]: Correct ordering of + arguments to tk_messageBox. + 2009-12-20 Donal K. Fellows * 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 -- cgit v0.12