Code

git-gui: Work around random missing scrollbar in revision list
authorShawn O. Pearce <spearce@spearce.org>
Tue, 22 Jan 2008 15:40:13 +0000 (10:40 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 23 Jan 2008 04:37:15 +0000 (23:37 -0500)
commit3ddff72e581e5c7477aaeb8b97a17691f7ff55bf
tree2f24a4d89d2305af6a6452f8940c6aae6b45ab43
parent6caaf2daf0ea50ff99009b94f24252b8fa747e64
git-gui: Work around random missing scrollbar in revision list

If the horizontal scrollbar isn't currently visible (because it has
not been needed) but we get an update to the scroll port we may find
the scrollbar window exists but the Tcl command doesn't.  Apparently
it is possible for Tk to have partially destroyed the scrollbar by
removing the Tcl procedure name but still leaving the widget name in
the window registry.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/choose_rev.tcl