From 5c0c77a23967d1959e8f5ec7e21695cf0f3d4b6c Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 15 Jul 2004 00:05:52 +0000 Subject: * library/tkfbox.tcl: Corrected coding errors in most recent change. Use [bind $w], not [$w configure] to modify bindings. --- ChangeLog | 5 +++++ library/tkfbox.tcl | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index db9b113..b3193bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-07-13 Don Porter + + * library/tkfbox.tcl: Corrected coding errors in most recent change. + Use [bind $w], not [$w configure] to modify bindings. + 2004-07-11 Donal K. Fellows * library/tkfbox.tcl (::tk::dialog::file::Create): Watch out for diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl index 45892ef..ada21b8 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.42 2004/07/11 22:21:19 dkf Exp $ +# RCS: @(#) $Id: tkfbox.tcl,v 1.43 2004/07/15 00:05:54 dgp Exp $ # # Copyright (c) 1994-1998 Sun Microsystems, Inc. # @@ -1661,7 +1661,7 @@ proc ::tk::dialog::file::CancelCmd {w} { upvar ::tk::dialog::file::[winfo name $w] data variable ::tk::Priv - $data(okBtn) configure {} + bind $data(okBtn) {} set Priv(selectFilePath) "" } @@ -1792,6 +1792,6 @@ proc ::tk::dialog::file::Done {w {selectFilePath ""}} { } } } - $data(okBtn) configure {} + bind $data(okBtn) {} set Priv(selectFilePath) $selectFilePath } -- cgit v0.12