summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-11-22 11:00:38 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-11-22 11:00:38 (GMT)
commitf0d62bb7554a60f4229c29e7f8bcd6150fb3a044 (patch)
tree5df9f1bb8a268974447d7fafbb329b5bf60fa211
parent51be87ea0b0cb9846e951433f23c55d039f03737 (diff)
downloadtk-f0d62bb7554a60f4229c29e7f8bcd6150fb3a044.zip
tk-f0d62bb7554a60f4229c29e7f8bcd6150fb3a044.tar.gz
tk-f0d62bb7554a60f4229c29e7f8bcd6150fb3a044.tar.bz2
Fix [Bug 1335485]
-rw-r--r--ChangeLog6
-rw-r--r--library/tkfbox.tcl4
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 <donal.k.fellows@man.ac.uk>
+
+ * 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 <dgp@users.sourceforge.net>
* 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)