summaryrefslogtreecommitdiff
path: root/git-gui.sh
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-27 04:18:29 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-09-28 02:15:54 (GMT)
commit1bdd8a153528b539fdaed23c18e87a374b1f3ff8 (patch)
tree01c99b7bef07d0e9fdcf13a0e295ebcc0e2b420e /git-gui.sh
parentcbf13d9e0c4fc7ac4f2f52f88cff94f1fc311971 (diff)
downloadgit-1bdd8a153528b539fdaed23c18e87a374b1f3ff8.zip
git-1bdd8a153528b539fdaed23c18e87a374b1f3ff8.tar.gz
git-1bdd8a153528b539fdaed23c18e87a374b1f3ff8.tar.bz2
git-gui: Use Henrik Nyh's git logo icon on Windows systems
Rather than displaying the stock red "Tk" icon in our window title bars and on the task bar we now show a Git specific logo. This is Henrik Nyh's logo that we also use in the startup wizard, scaled to a 16x16 image for Windows task bar usage with a proper transparent background. Signed-off-by: Shawn O. Pearce <shawn.o.pearce@bankofamerica.com>
Diffstat (limited to 'git-gui.sh')
-rwxr-xr-xgit-gui.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-gui.sh b/git-gui.sh
index 37da8fd..843191a 100755
--- a/git-gui.sh
+++ b/git-gui.sh
@@ -527,6 +527,10 @@ bind . <Visibility> {
set root_exists 1
}
+if {[is_Windows]} {
+ wm iconbitmap . -default $oguilib/git-gui.ico
+}
+
######################################################################
##
## config defaults