]> git.ipfire.org Git - thirdparty/git.git/commit - git-gui/git-gui.sh
git-gui: Make use of the Tk font system rather than faking it.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 05:40:38 +0000 (00:40 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 05:40:38 +0000 (00:40 -0500)
commitb4946930fa0f7aa538e33f1d799beffb7e10e7a9
treeac17386485de86e53775857e045e5aa38a7e86c2
parent16403d0b1f9d17bec6bce488356ec8bf84cace48
git-gui: Make use of the Tk font system rather than faking it.

The native Tk font system is actually quite powerful and has the nice
property that modifications to a named font are immediately reflected
throughout all widgets currently displayed.  This really saves us
from needing to write all of the reconfigure code as part of our font
display.

I also fixed the way we detect and apply the system font on the main
UI widgets as although it worked on a Windows 2000 system it does not
work at all on my Mac OS 10.4 system.

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