]> git.ipfire.org Git - thirdparty/git.git/commit - git-gui/git-gui.sh
git-gui: Reverted file name text field to a label.
authorShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 05:48:44 +0000 (00:48 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 05:48:44 +0000 (00:48 -0500)
commitfce89e466ae75961018ab88fec7000568f981d46
treeb9a82a61f30f2881a5bc06fb255655c906cc2335
parent1e5c18fb431c2d2493996e24ea68408e59ef6c16
git-gui: Reverted file name text field to a label.

So although a text field with a flat relief looks like a label on
Windows it doesn't on Mac OS X.  The Aqua version of Tk is still
drawing a border around the text field and that makes the diff pane
header look pretty ugly.

Earlier I had made the file name area into a text widget so the user
could highlight parts of it and copy them onto the clipboard; but with
the context menu being present this isn't quite as necessary as the user
can copy the file name to the clipboard using that instead.  So although
this is a small loss in functionality for non-Mac OS X systems I think it
is still reasonable.

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