From f0d62bb7554a60f4229c29e7f8bcd6150fb3a044 Mon Sep 17 00:00:00 2001 From: dkf Date: Tue, 22 Nov 2005 11:00:38 +0000 Subject: Fix [Bug 1335485] --- ChangeLog | 6 ++++++ library/tkfbox.tcl | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2af7a99..9f127e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-22 Donal K. Fellows + + * library/tkfbox.tcl (::tk::dialog::file::): Correct the quoting of + the script used in variable traces so that widget names with spaces in + will work. [Bug 1335485] + 2005-11-16 Don Porter * changes: Update changes for 8.4.12 release diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl index 0cfa409..5a9fb58 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.38.2.8 2005/04/12 20:33:35 hobbs Exp $ +# RCS: @(#) $Id: tkfbox.tcl,v 1.38.2.9 2005/11/22 11:00:38 dkf Exp $ # # Copyright (c) 1994-1998 Sun Microsystems, Inc. # @@ -848,7 +848,7 @@ proc ::tk::dialog::file:: {type args} { # Add traces on the selectPath variable # - trace variable data(selectPath) w "::tk::dialog::file::SetPath $w" + trace variable data(selectPath) w [list ::tk::dialog::file::SetPath $w] $data(dirMenuBtn) configure \ -textvariable ::tk::dialog::file::${dataName}(selectPath) -- cgit v0.12