]> git.ipfire.org Git - thirdparty/git.git/commit - git-gui.sh
git-gui: Use native tk_messageBox for errors.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 00:03:06 +0000 (19:03 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 05:16:02 +0000 (00:16 -0500)
commitda5239dcab0e8f899a4e6bfb34b574f6286b9dbb
tree4b6f90443035bea0c3005435a3e224a4dcb527f9
parent3963678da9e78e87fa9b57f2f3ad75ba1c70e589
git-gui: Use native tk_messageBox for errors.

Rather than drawing our own toplevel for error messages we really
should just use the the native tk_messageBox command to display
any error messages.

Major benefits for doing so are:
  - automatically centers over main window;
  - less code required on our part in git-gui;
  - includes a nifty error icon on most systems;
  - better fits the look-and-feel of the operating system.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui