git-gui: Paper bag fix error dialogs opening over the main window
commit85ec3e7778c09f5d4f52a29f57c5ecc64070ffd1
authorShawn O. Pearce <spearce@spearce.org>
Thu, 21 Feb 2008 17:22:08 +0000 (21 12:22 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 22 Feb 2008 06:35:23 +0000 (22 01:35 -0500)
tree0cea6fb82109be7aa0e5c3c89438de4485560267
parentaba15f7f592c302196401d17a42c772d744555b4
git-gui: Paper bag fix error dialogs opening over the main window

If the main window is the only toplevel we have open then we
don't have a valid grab right now, so we need to assume the
best toplevel to use for the parent is ".".

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