diff options
author | hobbs <hobbs> | 2000-03-31 09:24:11 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-03-31 09:24:11 (GMT) |
commit | b6e815a78d530ea2de673fd5df7b83e08bcfca25 (patch) | |
tree | 57e934ce1272a995275eac17554aa82bf3637924 /library/focus.tcl | |
parent | 50101abe09329eb91d99c0c501494179e8ae5b47 (diff) | |
download | tk-b6e815a78d530ea2de673fd5df7b83e08bcfca25.zip tk-b6e815a78d530ea2de673fd5df7b83e08bcfca25.tar.gz tk-b6e815a78d530ea2de673fd5df7b83e08bcfca25.tar.bz2 |
* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs
[Bug: 4506]
* library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be
called in tkIconList_Select. This causes the entry to be set
properly when using the type-in-name-in-listbox bindings.
Diffstat (limited to 'library/focus.tcl')
-rw-r--r-- | library/focus.tcl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/focus.tcl b/library/focus.tcl index d1cf4a6..1658988 100644 --- a/library/focus.tcl +++ b/library/focus.tcl @@ -3,7 +3,7 @@ # This file defines several procedures for managing the input # focus. # -# RCS: @(#) $Id: focus.tcl,v 1.6 2000/03/02 23:52:45 hobbs Exp $ +# RCS: @(#) $Id: focus.tcl,v 1.7 2000/03/31 09:24:11 hobbs Exp $ # # Copyright (c) 1994-1995 Sun Microsystems, Inc. # @@ -24,7 +24,7 @@ proc tk_focusNext w { set cur $w - while 1 { + while {1} { # Descend to just before the first child of the current widget. @@ -34,7 +34,7 @@ proc tk_focusNext w { # Look for the next sibling that isn't a top-level. - while 1 { + while {1} { incr i if {$i < [llength $children]} { set cur [lindex $children $i] @@ -76,7 +76,7 @@ proc tk_focusNext w { proc tk_focusPrev w { set cur $w - while 1 { + while {1} { # Collect information about the current window's position # among its siblings. Also, if the window is a top-level, |