Skip to content

Commit

Permalink
gitk: Provide a 32x32 window icon based on the git logo
Browse files Browse the repository at this point in the history
This simply expands the 16x16 logo image to 32x32 and provides it as
an alternative icon image.

Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Stephen Boyd authored and Paul Mackerras committed Mar 23, 2009
1 parent 37871b7 commit d38d7d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gitk
Original file line number Diff line number Diff line change
Expand Up @@ -10902,7 +10902,10 @@ catch {
gitlogo copy gitlogoplus -to 11 9
image delete gitlogoplus

wm iconphoto . -default gitlogo
image create photo gitlogo32 -width 32 -height 32
gitlogo32 copy gitlogo -zoom 2 2

wm iconphoto . -default gitlogo gitlogo32
}
# wait for the window to become visible
tkwait visibility .
Expand Down

0 comments on commit d38d7d4

Please sign in to comment.