git-gui: Use 'after 1' to post UI rather than tkwait.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 20:04:15 +0000 (15:04 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 05:10:37 +0000 (00:10 -0500)
The tkwait visibility command and Windows doesn't seem to realize
the window is visible, consequently we are never finishing our
initialization by calling update_status.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui
diff --git a/git-gui b/git-gui
index f959cb670668706df59194581ec9e5f9fb607047..2138d2d2e19ba0ddbfdac4727dde006eff8b0d3e 100755 (executable)
--- a/git-gui
+++ b/git-gui
@@ -2337,5 +2337,4 @@ load_all_remotes
 populate_remote_menu .mbar.fetch From fetch_from
 populate_remote_menu .mbar.push To push_to
 populate_pull_menu .mbar.pull
-tkwait visibility .
-update_status
+after 1 update_status