gitk: Provide a window icon if possible
commit37871b735aa427c440590966d4cacaf219a21292
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 19 Mar 2009 08:54:17 +0000 (19 01:54 -0700)
committerPaul Mackerras <paulus@samba.org>
Mon, 23 Mar 2009 10:52:59 +0000 (23 21:52 +1100)
treea67ee87ee5abfc00e1160715c51903be07ca425c
parent681c3290e379e61f9dd762039f140296434d1d9f
gitk: Provide a window icon if possible

Try to set up a 16x16 Tk photo image (based on the git logo) and use
it as window icon.  The code is wrapped in a catch because it may fail
in earlier Tcl/Tk 8.4 releases that don't provide 'wm iconphoto'.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk