author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | |
Sun, 16 Nov 2008 02:42:32 +0000 (03:42 +0100) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 16 Nov 2008 21:31:41 +0000 (13:31 -0800) | ||
commit | d1f2b362b7937c1ecb0d1b9a21d76b362705b87d | |
tree | 876ab006110b7b85a76a05513ca3865176c3b1b3 | tree | snapshot |
parent | f75c8b319f5b448d8e7dc589ca581eec852a131e | commit | diff |
git-gui: try to provide a window icon under X
When running under X, we try to set up a window icon by providing a
hand-crafted 16x16 Tk photo image equivalent to the .ico. Wrap in a
catch because the earlier Tcl/Tk 8.4 releases didn't provide the 'wm
iconphoto' command.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
When running under X, we try to set up a window icon by providing a
hand-crafted 16x16 Tk photo image equivalent to the .ico. Wrap in a
catch because the earlier Tcl/Tk 8.4 releases didn't provide the 'wm
iconphoto' command.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |